This repository is to collect and define quantum gates that are meaningful to quantum algorithms, domain applications, devices, and operations. This will serve as a standard for the support of our software tools.
X is a Pauli gate which flips the qubit, also known as NOT gate.
Y is a Pauli gate that applies both a bit-flip and a phase flip.
Z is a Pauli gate known as the phase flip gate.
H, also known as the Hadamard gate, is a Clifford gate that creates superposition.
S is a Clifford gate, specifically the square root of Z phase gate.
SDG is the inverse of the S gate.
T, also known as the sqrt(S) phase gate or T gate. T is not a Clifford gate and is important for QEC.
TDG, also known as the inverse of the T gate, involves a complex phase adjustment.
The RX gate performs a rotation around the X axis by an angle (
The RY gate performs a rotation around the Y axis by an angle
The RZ gate performs a rotation around the Z axis by an angle
The SX gate, also known as the sqrt(X) gate, performs a
The P gate, also known as the phase gate, applies a phase shift
The U gate is a general unitary operation defined by three parameters:
The Controlled X gate, also known as CNOT, is used to apply an X gate to a target qubit when the control qubit is in the state |1⟩. This gate is essential for creating quantum entanglement and implementing conditional logic in quantum circuits.
The Controlled Y gate, applies a Y gate to a target qubit when the control qubit is set to |1⟩. It plays a crucial role in quantum circuits where conditional phase flips combined with bit flips are necessary.
The Controlled Z gate, applies a Z gate (Pauli-Z gate) to a target qubit when the control qubit is set to |1⟩. This gate is essential for phase manipulation in quantum algorithms and is widely used in creating quantum entanglement.
The Controlled H gate, applies a Hadamard gate to a target qubit when the control qubit is set to |1⟩. It's used in complex quantum operations that require conditional superposition, serving as a critical component in algorithms that exploit quantum parallelism and entanglement.
The Controlled S gate, applies an S gate to a target qubit when the control qubit is set to |1⟩. The S gate applies a phase shift of
The Controlled SDG gate, applies an SDG gate to a target qubit when the control qubit is set to |1⟩. The SDG gate applies a phase shift of
The Controlled T gate, applies a T gate to a target qubit when the control qubit is set to |1⟩. The T gate introduces a phase shift of
The Controlled TDG gate, applies a TDG gate to a target qubit when the control qubit is set to |1⟩. The TDG gate introduces a phase shift of
The Controlled RX gate, applies an RX gate to a target qubit when the control qubit is set to |1⟩. The RX gate performs a rotation around the X axis by an angle
The Controlled RY gate, applies an RY gate to a target qubit when the control qubit is set to |1⟩. The RY gate performs a rotation around the Y axis by an angle
The Controlled RZ gate, applies an RZ gate to a target qubit when the control qubit is set to |1⟩. The RZ gate performs a rotation around the Z axis by an angle