Interleaved randomized benchmarking of CNOT gate¶
This experiment measures the average \(\text{CNOT}\) gate fidelity using interleaved randomized benchmarking. The interleaved randomized benchmarking is an extension of the standard randomized benchmarking experiment.
Description¶
In the standard randomized benchmarking experiment, we used Clifford gates to determine the average fidelity of the gateset:
where \(\mathrm{G_1}\), \(\mathrm{G_2}\) and \(\mathrm{G_3}\) are different Clifford gates, and \(\mathrm{G_{recovery}}\) is chosen such that the qubits return to their initial state at the end of the sequence. The probability that this happens in practice is known as the survival probability, \(P_\text{surv}\), and is given by
where \(A\), \(p\), and \(B\) are fit parameters, and \(x\) is the gate sequence length. For a single qubit, the average gate fidelity, \(\alpha\), can be obtained from \(p\) using
Clifford gates
A Clifford gate is a quantum gate that maps each Pauli operator (X, Y, Z) to another Pauli operator under conjugation. The main Clifford gates are the Hadamard (\(\text{H}\)), Phase (\(\text{S}\)), and \(\text{CNOT}\) gates. They’re important in randomized benchmarking because they’re easy to simulate and preserve stabiliser states.
To benchmark a specific gate, such as the \(\text{CNOT}\), we use interleaved randomised benchmarking, in which the gate of interest is inserted between each Clifford gate.
As a quick reminder, the \(\text{CNOT}\) gate transforms the two-qubit state
to
and can represented by the matrix
The interleaved RB sequence for the \(\text{CNOT}\) gate would therefore look like this:
Here, \(\mathrm{G'_\text{recovery}}\) may differ from the recovery gate used at the end of the standard RB sequence; it ensures the qubits return to their initial state after the interleaved sequence. Since the \(\text{CNOT}\) gate acts on computational basis states, it is itself a Clifford gate, and therefore the recovery gate should also come from the Clifford group.
The survival probability of this sequence is then given by
By comparing the average fidelity of both sequences (standard and interleaved), it's possible to isolate the impact of the \(\text{CNOT}\) gate on the overall sequence fidelity and calculate the \(\text{CNOT}\) gate fidelity, \(\alpha_{\text{CNOT}}\), using1
Experiment steps¶
-
\(N\) different sequences of the same length, \(x\), are defined. Each conventional RB sequence consists of gates from the set \(R_x(\frac{\pi}{2})\), \(R_x(-\frac{\pi}{2})\), \(R_y(\frac{\pi}{2})\), \(R_y(-\frac{\pi}{2})\), \(I\). The interleaved RB sequence consists of these gates as well as \(\text{CNOT}\) gates.
-
The conventional and interleaved RB sequences are applied to the qubit, which begins in its ground state \(|0\rangle\).
-
The resonator transmission is measured for each of the \(N\) sequences.
-
Steps 1 to 3 are repeated for varying lengths of the gate sequence, \(x\).
Analysis steps¶
-
The qubit state is determined from the \(I\)-\(Q\) data by applying the discriminator trained in the Readout discriminator training experiment.
-
The survival probabilities for the conventional (\(P_{\text{surv}}(x)\)) and interleaved (\(P^{\text{CNOT}}_{\text{surv}}(x)\)) sequences are obtained by averaging over the \(N\) different sequences.
-
\(P_{\text{surv}}(x)\) and \(P^{\text{CNOT}}_{\text{surv}}(x)\) are plotted against the sequence length, \(x\), and exponential curves are fit to the data.
-
The fit parameters \(p\) and \(p_{\text{CNOT}}\) are used to calculate the average gate fidelities, \(\alpha\), for the conventional and interleaved sequences.
-
The average fidelity of the \(\text{CNOT}\) gate is then extracted.
-
Easwar Magesan, Jay M. Gambetta, B. R. Johnson, Colm A. Ryan, Jerry M. Chow, Seth T. Merkel, Marcus P. da Silva, George A. Keefe, Mary B. Rothwell, Thomas A. Ohki, Mark B. Ketchen, and M. Steffen. Efficient measurement of quantum gate error by interleaved randomized benchmarking. Phys. Rev. Lett., 109:080505, Aug 2012. doi:10.1103/PhysRevLett.109.080505. ↩