supergrad.utils.gates module#
The code is from qutip_qip.operations. Operations on quantum circuits.
List of Gates#
|
Single-qubit rotation for operator sigmax with angle phi. |
|
Single-qubit rotation for operator sigmay with angle phi. |
|
Single-qubit rotation for operator sigmaz with angle phi. |
|
Single-qubit square root NOT gate. |
|
Quantum object representing the SNOT (Hadamard) gate. |
|
Returns quantum object representing the phase shift gate. |
|
Single qubit rotation driving by Rabi oscillation with 0 detune. |
|
Pauli-X gate or sigmax operator. |
|
Pauli-Y gate or sigmay operator. |
|
Pauli-Z gate or sigmaz operator. |
|
Controlled Y gate. |
|
Controlled Z gate. |
|
Single-qubit rotation also called Phase gate or the Z90 gate. |
|
Single-qubit rotation related to the S gate by the relationship S=T*T. |
|
QASM U-gate as defined in the OpenQASM standard. |
|
Controlled S gate. |
|
Controlled T gate. |
|
Returns quantum object representing the controlled phase shift gate. |
|
Quantum object representing the CNOT gate. |
|
Quantum object representing the CSIGN gate. |
|
Quantum object representing the Berkeley gate. |
|
Quantum object representing the SWAPalpha gate. |
|
Quantum object representing the SWAP gate. |
|
Quantum object representing the iSWAP gate. |
|
Quantum object representing the square root SWAP gate. |
|
Quantum object representing the square root iSWAP gate. |
|
Quantum object representing the Fredkin gate. |
|
Quantum object of a Mølmer–Sørensen gate. |
|
Quantum object representing the Toffoli gate. |
|
Single-qubit rotation for operator op with angle phi. |
|
Create an N-qubit controlled gate from a single-qubit gate U with the given |
|
Returns quantum object representing the global phase shift gate. |
|
Quantum object representing the N-qubit Hadamard gate. |
|
Expand an operator to one that acts on a system with desired dimensions. |