Cross-Entropy Benchmarking
How XEB Estimates Quantum Gate Fidelity
Cross-entropy benchmarking grew out of the random circuit sampling problem, the task chosen to demonstrate that a quantum processor can perform a computation no classical supercomputer can match in reasonable time. The protocol selects a circuit at random from a fixed gate set (typically single-qubit rotations drawn from {√X, √Y, √W} interleaved with a fixed entangling two-qubit gate), executes it tens of thousands of times, and records the resulting bitstrings. Because a deep random circuit drives the output state toward a Haar-random pure state, the bitstring probabilities follow the Porter-Thomas distribution, an exponential law with mean 1/2n across the 2n possible outcomes. A working processor preferentially samples the high-probability strings; pure noise samples uniformly and scores zero.
The linear cross-entropy fidelity FXEB is computed by averaging the simulated ideal probability of each measured bitstring, scaling by 2n, and subtracting one. An ideal noiseless sampler returns FXEB = 1, while a fully depolarized output returns 0. Critically, the fidelity multiplies across the circuit, so for a circuit containing g gates each with average error e, the expected score is approximately (1 e)g. This exponential decay is what lets an experimenter extract a single per-gate or per-cycle error figure by fitting FXEB against circuit depth, exactly as one fits an exponential to extract a decay constant.
What makes XEB an RF problem rather than a purely algorithmic one is that every operation in the circuit is a physical microwave event. A single-qubit gate is a 15 to 25 ns shaped pulse near the 4 to 6 GHz transmon transition, synthesized by an arbitrary waveform generator and upconverted through an IQ mixer. Errors in pulse amplitude, phase, or timing, along with control-line crosstalk and local-oscillator phase noise, accumulate directly into the XEB error budget. Reaching the sub-percent per-cycle errors reported for state-of-the-art devices demands a control and readout chain calibrated to the same tolerances RF Essentials engineers apply to precision millimeter-wave subsystems.
Linear XEB Fidelity and Per-Cycle Error
P(p) = N × e−Np, N = 2n, mean probability = 1/2n
Linear cross-entropy fidelity:
FXEB = 2n × 〈 Pideal(xi) 〉measured − 1
Fidelity vs. circuit depth (g gates, error e per gate):
FXEB ≈ (1 − e)g ≈ e−g×e
Where n = number of qubits, Pideal(xi) = simulated probability of measured bitstring xi, e = average per-gate error, g = gate count. Ideal sampler: FXEB = 1. Uniform noise: FXEB = 0. Example: 53 qubits, 20 cycles, per-cycle error ≈ 0.6% → whole-circuit FXEB ≈ 0.2%.
XEB Versus Other Benchmarking Protocols
| Protocol | Circuit type | Qubit scaling | SPAM sensitivity | Captures crosstalk | Best use |
|---|---|---|---|---|---|
| Cross-entropy (XEB) | Deep random, non-Clifford | 10s of qubits | Moderate | Yes | System-level fidelity, supremacy |
| Randomized benchmarking | Random Clifford, identity | 1 to 2 qubits | Low | No | Average gate error |
| Gate set tomography | Designed informationally complete | 1 to 2 qubits | Low | Partial | Full gate characterization |
| Process tomography | Full input/output basis | 1 to 2 qubits | High | Yes | Detailed single-gate maps |
| Mirror benchmarking | Random then inverse | Many qubits | Low | Yes | Scalable holistic check |
Frequently Asked Questions
How does linear XEB fidelity differ from randomized benchmarking?
Randomized benchmarking runs Clifford sequences that compose to the identity and fits the survival decay to an average error per Clifford; it is SPAM-insensitive but practical only for one or two qubits. XEB instead runs deep non-Clifford circuits that scramble toward a Porter-Thomas distribution, then scores bitstrings against simulation, with FXEB ≈ (1 − e)g. XEB scales to dozens of qubits and captures correlated crosstalk errors, but it needs classical simulation of the ideal circuit, which becomes intractable past roughly 50 qubits.
What microwave control specifications limit measured XEB fidelity?
The score is set by accumulated gate error, dominated by the microwave control chain. Single-qubit gates are shaped 4 to 6 GHz pulses from an arbitrary waveform generator and IQ mixer; amplitude and phase errors below 0.1% and timing jitter under 10 ps are needed for single-qubit errors near 0.1%. Local-oscillator phase noise must stay below roughly −100 dBc/Hz at 1 MHz offset, and 14-bit or finer DAC resolution keeps quantization from degrading the pulse. Sycamore reported per-cycle errors near 0.3% single-qubit and 0.6% two-qubit.
Why does the XEB score follow a Porter-Thomas distribution?
A deep random circuit produces an output state that behaves like a random pure state in the 2n-dimensional Hilbert space, so the bitstring probabilities follow the Porter-Thomas law, an exponential distribution with mean 1/2n. A faithful processor preferentially samples high-probability strings and yields a positive cross-entropy signal, whereas a processor outputting uniform noise gives FXEB = 0. The ideal sampler scores FXEB = 1, so the measured value is itself the circuit fidelity.