Home▸Articles▸Quantum Physics

Random Circuit Sampling Lab: A Quantum Phenomenon

A simulation that explores the complex behavior of quantum systems under random operations, revealing fundamental principles in quantum computing.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Random Circuit Sampling Is

Random circuit sampling is a technique used to test the performance of quantum computers. By applying random sequences of single-qubit rotations and entangling gates, researchers can observe how these operations scramble the state of a quantum system.

This process is crucial for developing and validating quantum algorithms and hardware, as it allows scientists to compare theoretical predictions with experimental results.

Why It Happens

The behavior observed in random circuit sampling can be explained by the principles of quantum mechanics. When a series of random gates are applied to a quantum system, it leads to a phenomenon known as 'scrambling', where information is rapidly mixed and becomes difficult to trace back.

This scrambling effect is closely related to the concept of entanglement and the exponential growth in the number of possible states that can be generated by adding more qubits.

live demo · related simulation● LIVE

The Porter-Thomas 'Speckle' Pattern

As random circuits are applied, the probability distribution of measurement outcomes tends to follow a specific pattern known as the Porter-Thomas distribution. This pattern is characterized by a speckle-like appearance in the histogram of measurement results.

This distribution arises due to the complex interference patterns created by entangled qubits and provides insights into the quantum correlations present in the system.

Cross-Entropy Benchmarking (XEB) Fidelity

Cross-entropy benchmarking is a method used to quantify the performance of a quantum computer by comparing the output distribution of random circuits with theoretical predictions. The fidelity measures how closely the experimental results match the expected outcomes.

As gate errors accumulate, the XEB fidelity decreases, indicating the presence of noise and imperfections in the quantum hardware.

Frequently asked questions

What does the 'speckle' pattern represent?

The speckle pattern represents a specific probability distribution that emerges from the random application of quantum gates, indicating complex interference and entanglement effects in the system.

How is XEB fidelity calculated?

XEB fidelity is calculated by comparing the experimental measurement outcomes with theoretical predictions. It quantifies how well the actual results match the expected probabilities for a given random circuit.

Why are single-qubit rotations and entangling gates important in this simulation?

Single-qubit rotations and entangling gates are crucial because they introduce complexity into the quantum state, allowing researchers to study scrambling and entanglement dynamics. These operations are fundamental building blocks for creating complex quantum algorithms.

What does a decrease in XEB fidelity indicate?

A decrease in XEB fidelity indicates an increase in gate errors or noise in the quantum system, suggesting that the hardware is not performing as expected and may need further optimization or error correction techniques.

Try it live

Everything above runs in your browser — open Random Circuit Sampling Lab and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Random Circuit Sampling Lab simulation

What did you find?

Add reproduction steps (optional)