Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update quake-dialect.md #1760

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/sphinx/specification/quake-dialect.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ greater, the extra qubits are considered controls.
The main motivation behind Quake's value model is to directly expose
quantum and classical data dependencies for optimization purposes,
i.e., to represent the dataflow in quantum computations. In contrast
to Quake's memory model, which uses memory semantics (quantum
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quake is flexible in that it can represent both the memory and value semantics model (switching via the --memtoreg pass). So the text as-is is correct. Granted, the whole document here could use a refresh probably.

to QTX's memory model, which uses memory semantics (quantum
operators act as side-effects on qubit references), the value model
uses value semantics, that is quantum operators consume and produce
values. These values are not truly SSA values, however, as operations
Expand Down
Loading