Repository navigation
Add a MeasureType to Quake - #869
Conversation
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Adds a new type for the result of a measurement operation. A value of type `!quake.measurement` must be post-processed by the new operation `quake.discriminate` to convert that value to a classical integer value. `quake.discriminate`, like the previous measurement ops, can produce either a single integer (bit) or a `std::vector` of integers (bits). This splits the measurement operation into two steps: - acquiring the measurement on a qubit(s) - converting the measurement results to a classical value(s). Fix all the tests and passes to accept the new representation. Add verifier for DiscriminateOp. Update the python tests.
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
bmhowe23
left a comment
There was a problem hiding this comment.
LGTM. Just one overarching question about the pattern matching (mostly for my own benefit).
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Adds a new type for the result of a measurement operation. A value of type
!quake.measurementmust be post-processed by the new operationquake.discriminateto convert that value to a classical integer value.quake.discriminate, like the previous measurement ops, can produce either a single integer (bit) or astd::vectorof integers (bits).This splits the measurement operation into two steps:
Fix all the tests and passes to accept the new representation.