Quantum Advantage Experiments
IQP Circuit Sampling: quick reference
Sandwiches commuting phase gates between two Hadamard layers to produce an output distribution believed hard to sample classically.
- Topic
- Quantum Advantage Experiments
- Level
- Advanced
- Circuit size
- 3 Qubits
- Key result
- Classically hard sampling from a single layer of commuting gates
Concepts covered: IQP Circuits, Commuting Gates, Sampling Complexity, Interference
How IQP Circuit Sampling works, step by step
- Opening Hadamard Layer. Hadamards spread the state over all eight bit strings.
- Commuting Phase Layer. T gates and CZ gates attach a different phase to each bit string. Their order is irrelevant.
- Closing Hadamard Layer. The second Hadamard layer makes the phases interfere and turns them into unequal probabilities.
- Sample the Distribution. Some bit strings appear over 20% of the time, others under 2%.
Frequently asked questions
What is IQP Circuit Sampling?
Sandwiches commuting phase gates between two Hadamard layers to produce an output distribution believed hard to sample classically. It is a advanced-level topic in quantum advantage experiments.
How many qubits does the IQP Sampling circuit use?
The QuanBit tutorial uses a 3 qubits circuit. Key result: Classically hard sampling from a single layer of commuting gates.
Can I simulate IQP Sampling online for free?
Yes. The interactive IQP Sampling tutorial at https://www.quanbit.tech/learn/iqp-sampling runs free in the browser with nothing to install. You can step through the circuit gate by gate, watch the probabilities, statevector and Bloch spheres update, build the circuit yourself and take a short quiz.