Skip to content

Commit

Permalink
Add through to available port directions
Browse files Browse the repository at this point in the history
  • Loading branch information
dexter2206 committed Sep 29, 2024
1 parent b4d6bf3 commit 83991a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/format.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ Let us first take a look at ports, like the first input port of our program:

Ports, like most other components in QREF, have names, which should be distinct
among all ports of any given program (or subroutine). Each port also has
direction, which can be either `input` or `output`. Finally, each port has size.
direction, which can be either `input`, `output` or `through` (for ports serving as
both input and output). Finally, each port has size.
In our simple scenario, all sizes are positive integers. However, QREF
is not limited to them, and size of a port can be either:

Expand Down

0 comments on commit 83991a3

Please sign in to comment.