Std.Intrinsic
The Std.Intrinsic namespace contains the following items:
Name | Description |
---|---|
AND | Applies the AND gate that is more efficient for use with decomposition of multi-controlled operations. Note that target qubit must be in |0⟩ state. |
ApplyUnitary | Applies the given unitary matrix to the given qubits. The matrix is checked at runtime to ensure it's shape is square and that the matrix dimensions are 2 ^ Length(qubits) . This operation is simulator-only and is not supported on hardware. |
CCNOT | Applies the doubly controlled–NOT (CCNOT) gate to three qubits. |
CNOT | Applies the controlled-NOT (CNOT) gate to a pair of qubits. |
Exp | Applies the exponential of a multi-qubit Pauli operator. |
H | Applies the Hadamard transformation to a single qubit. |
I | Performs the identity operation (no-op) on a single qubit. |
M | Performs a measurement of a single qubit in the Pauli Z basis. |
Measure | Performs a joint measurement of one or more qubits in the specified Pauli bases. If the basis array and qubit array are different lengths, then the operation will fail. |
Message | Logs a message. |
R | Applies a rotation about the given Pauli axis. |
R1 | Applies a rotation about the |1⟩ state by a given angle. |
R1Frac | Applies a rotation about the |1⟩ state by an angle specified as a dyadic fraction. WARNING: This operation uses the opposite sign convention from Std.Intrinsic.R. |
RFrac | Applies a rotation about the given Pauli axis by an angle specified as a dyadic fraction. WARNING: This operation uses the opposite sign convention from Std.Intrinsic.R. |
Reset | Given a single qubit, measures it and ensures it is in the |0⟩ state such that it can be safely released. |
ResetAll | Given an array of qubits, measure them and ensure they are in the |0⟩ state such that they can be safely released. |
Rx | Applies a rotation about the x-axis by a given angle. |
Rxx | Applies the two qubit Ising XX rotation gate. |
Ry | Applies a rotation about the y-axis by a given angle. |
Ryy | Applies the two qubit Ising YY rotation gate. |
Rz | Applies a rotation about the z-axis by a given angle. |
Rzz | Applies the two qubit Ising ZZ rotation gate. |
S | Applies the π/4 phase gate to a single qubit. |
SWAP | Applies the SWAP gate to a pair of qubits. |
T | Applies the π/8 gate to a single qubit. |
X | Applies the Pauli X gate. |
Y | Applies the Pauli Y gate. |
Z | Applies the Pauli Z gate. |