quantumΒΆ
Guppy standard module for quantum operations.
Classes
Represents the result of a lazy measurement which needs to be explicitly read before being used. |
|
|
Functions
|
Controlled-H gate command. |
|
Block on each measurement until it is available and collect results into an array of bools. |
|
Controlled-Rz gate command. |
|
Controlled-X gate command. |
|
Controlled-Y gate command. |
|
Controlled-Z gate command. |
|
Discard a single qubit. |
|
Discard an array of qubits. |
|
Hadamard gate command |
Try to allocate a qubit, returning some(qubit) if allocation succeeds or nothing if it fails. |
|
|
Request a destructive lazy measurement of a qubit, returning a Measurement value. |
|
Request a destructive lazy measurement of an array of qubits, returning an array of Measurement values. |
|
Project a single qubit into the Z-basis (a non-destructive measurement). |
|
Reset a single qubit to the \(|0\rangle\) state. |
|
Rx gate. |
|
Ry gate. |
|
Rz gate. |
|
S gate. |
|
Sdg gate. |
|
T gate. |
|
Tdg gate. |
|
A Toffoli gate command. |
|
V gate. |
|
Vdg gate. |
|
X gate. |
|
Y gate. |
|
Z gate. |
Guppy standard module for functional quantum operations. |