Parametrized controlled phase shift gate
| Identifier | Operator | Example statement |
|---|---|---|
| CRk | \(CRk(\theta)\) | CRk(2) q[0], q[1] |
Description
The parametrized controlled phase shift, or CRk, gate is a two-qubit gate. It is the parametrized version of the controlled phase shift gate, with angle \(\theta\), parametrized by an integer \(k\): \(\theta(k) = \frac{2\pi}{2^k}\).
The CRk gate is especially useful for calculating the Quantum Fourier Transform.
Special cases of the CRk gate include:
- \(I = CR_k(0)\),
- \(CZ = CR_k(1)\),
- \(CR(2\pi/2^k) = CR_k(k)\).
Properties
- Ising gate.
Representation
which is equal to:
with
Operation examples
Standard basis
Qubit state ordering convention and matrix representation
Note that qubits in a ket are ordered with qubit indices decreasing from left to right, i.e.,
Note that for matrices a reversed basis ordering convention is adopted, as is done in most textbooks. For instance, in the case of a two-qubit control gate, the matrix is represented such that \(q_0\) is the control qubit and \(q_1\) is the target qubit; the state on which the matrix is applied should then effectively be written as \(|q_0\rangle \otimes |q_1\rangle\).