Skip to content

Commit

Permalink
[fix] Spec formatting (#312)
Browse files Browse the repository at this point in the history
* [fix] Spec formatting

* [doc] Remove extra lines about linearity
  • Loading branch information
croyzor authored Jul 28, 2023
1 parent 2fd5b33 commit dc6da1a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions specification/hugr.md
Original file line number Diff line number Diff line change
Expand Up @@ -1063,9 +1063,6 @@ must have exactly one edge leaving them unless they are `ClassicType`, where
outgoing ports may have any number of connected edges (0 is equivalent
to a discard). All incoming ports must have exactly one edge connected to them.

# Our linear types behave like other values passed down a wire.
# Quantum gates behave just like other nodes on the graph with
# inputs and outputs, but there is only one edge leaving (or entering) each port.
In fully qubit-counted contexts programs take in a number of qubits
as input and return the same number, with no discarding. See
[quantum resource](#quantum-resource) for more.
Expand Down

0 comments on commit dc6da1a

Please sign in to comment.