No filters · sorted by last activity · 20 of 52 circuits.

Corpus
Framework
Domain110 domain tags in use · showing the 6 most common
Qubits
Depth
SORT:

Bell State

Creates the Bell state |Phi+> = (|00> + |11>)/sqrt(2), the simplest demonstration of quantum entanglement. Two qubits are prepared such that measuring one instantly determines the other — the foundation for teleportation, superdense coding, and quantum key distribution.

BeginnerEntanglementEpr+1
Framework
Qiskit
Qubits
2
Depth
3
Gate set
HCX
5 completed runs · simulator

QAOA MaxCut (Farhi 2014)

Faithful reproduction of the Quantum Approximate Optimization Algorithm (QAOA) for MaxCut, as introduced in the foundational 2014 paper by Farhi, Goldstone, and Gutmann. Demonstrates approximation ratio improvement with increasing circuit depth p on triangle, square, and butterfly graphs (3-5 qubits). Includes automated verification checks against the paper's theoretical bounds.

AdvancedResearchQaoa+3
Framework
Cirq
Qubits
3
Depth
5
Gate set
HRXZZ
1 completed run · simulator

Quantum Kernel SVM

Trains a classical Support Vector Machine on a kernel matrix computed from quantum circuits. The ZZ feature map encodes data into an exponentially large Hilbert space via entangling RZ(xi·xj·π) gates, and the inversion test measures K(x,y) = |⟨φ(x)|φ(y)⟩|² as the all-zeros probability. Includes synthetic data generation, SVM dual optimization, and classification evaluation.

AdvancedMachine_LearningKernel+3
Framework
PennyLane
Qubits
4
Depth
38
Gate set
RZRYCX

Hadamard Test

Estimates the complex expectation value <psi|U|psi> of a unitary operator using quantum interference on an ancilla qubit. The real part is extracted from the default circuit; adding S-dagger before the final Hadamard gives the imaginary part.

IntermediateUtilityHadamard Test+2
Framework
Qiskit
Qubits
2
Depth
4
Gate set
HCU
2 completed runs · simulator

VQD Algorithm

General-purpose VQD implementation for finding K eigenstates sequentially. Each state is found by minimizing the energy plus overlap penalties with all previously found states. Demonstrates on the 4-qubit Transverse Field Ising Model.

AdvancedChemistryVqd+2
Framework
Qiskit
Qubits
4
Depth
10
Gate set
RYRZCX

LiH Excited States

Finds ground and first excited states of lithium hydride (LiH) using VQD on a 4-qubit active-space Hamiltonian. LiH has richer electronic structure than H2, including ionic-covalent character mixing and an avoided crossing at stretched geometries (~3 A).

AdvancedChemistryVqd+2
Framework
Qiskit
Qubits
4
Depth
14
Gate set
RYRZCX

Fidelity Kernel (SWAP Test)

Computes the quantum fidelity |⟨φ(x)|φ(y)⟩|² directly using the SWAP test circuit — an interferometric technique that measures state overlap via an ancilla qubit and controlled-SWAP gates. Requires 2n+1 qubits for n-qubit data encoding.

AdvancedMachine_LearningKernel+3
Framework
PennyLane
Qubits
5
Depth
6
Gate set
HRYCSWAP

QAOA for TSP

Solves the Traveling Salesman Problem using QAOA with constraint penalties. Uses city-timestep encoding (n^2 qubits for n cities): qubit (c, t) = 1 means city c is visited at timestep t. Default: 2 cities with distance 5, 4 qubits. Cost Hamiltonian encodes distance terms plus row and column constraint penalties enforced via RZZ interactions.

IntermediateOptimizationQaoa+2
Framework
Qiskit
Qubits
4
Depth
6
Gate set
HRZZRX

Superdense Coding

Sends 2 classical bits using 1 qubit by leveraging a pre-shared Bell pair. The dual of quantum teleportation — demonstrates that entanglement can double the classical information capacity of a quantum channel.

BeginnerCommunicationSuperdense+1
Framework
Qiskit
Qubits
2
Depth
5
Gate set
HCXXZ
2 completed runs · simulator

QAOA for Graph Coloring

Solves Graph 2-Coloring using the Quantum Approximate Optimization Algorithm (QAOA). Assigns one of two colors to each vertex to minimize edge conflicts (adjacent vertices sharing a color). Default: 4-vertex graph with triangle subgraph (chromatic number 3, minimum 1 conflict). Identical circuit structure to MaxCut — coloring minimizes conflicts while MaxCut maximizes cuts.

IntermediateOptimizationQaoa+2
Framework
Qiskit
Qubits
4
Depth
6
Gate set
HRZZRX

VQE for H2 Molecule

Finds the ground state energy of the hydrogen molecule (H2) using the Variational Quantum Eigensolver (VQE) — a hybrid quantum-classical algorithm that pairs a parameterized 2-qubit ansatz with COBYLA optimization. The qubit Hamiltonian is derived from the STO-3G basis via parity mapping with two-qubit reduction, giving an exact ground state of -1.1373 Hartree.

IntermediateChemistryVqe+2
Framework
Qiskit
Qubits
2
Depth
3
Gate set
RYCX

Angle Encoding

Encodes classical features as rotation angles on the Bloch sphere, with standard (RY/RZ/RX) and dense (2 features per qubit) variants

IntermediateMachine_LearningAngle+3
Framework
Qiskit
Qubits
4
Depth
1
Gate set
RY

Shor's 9-Qubit Code

First quantum error correcting code (1995) — corrects any single-qubit error (X, Y, Z) via concatenated bit-flip and phase-flip codes

IntermediateError_CorrectionShor+3
Framework
Qiskit
Qubits
9
Depth
6
Gate set
HCX
1 completed run · simulator

Projected Quantum Kernel

Projects quantum states to a finite-dimensional classical vector of expectation values instead of computing the full fidelity kernel. Uses an IQP (Instantaneous Quantum Polynomial) feature map with random Pauli or computational basis projections. More robust to noise and exponential concentration than full fidelity kernels.

AdvancedMachine_LearningKernel+3
Framework
PennyLane
Qubits
4
Depth
18
Gate set
HRZCX

Barren Plateau Detection

Detects and quantifies vanishing gradients (barren plateaus) in variational quantum circuits by measuring gradient variance scaling with system size. Uses the parameter-shift rule and exponential decay fitting to determine if an ansatz is trainable.

AdvancedAnsatzBarren Plateau+3
Framework
Cirq
Qubits
4
Depth
9
Gate set
RYRZCNOT

Surface Code (Distance-3)

Topological QEC code on a 2D lattice with ~1% error threshold — the leading candidate for practical fault-tolerant quantum computing

IntermediateError_CorrectionSurface+4
Framework
Qiskit
Qubits
17
Depth
23
Gate set
HCX
1 completed run · simulator

VQE H2 (Peruzzo 2014)

Reproduction of the first experimental VQE demonstration — finding the ground-state energy of H2 on a photonic quantum processor (Peruzzo et al., Nature Communications 2014)

AdvancedResearchVqe+3
Framework
Qiskit
Qubits
2
Depth
2
Gate set
XRYCX

Quantum Teleportation

Teleports an unknown quantum state from one qubit to another using a shared Bell pair and two classical bits. Demonstrates that quantum information can be transferred without physically sending the qubit — at the cost of consuming entanglement and requiring classical communication.

BeginnerCommunicationTeleportation+1
Framework
Qiskit
Qubits
3
Depth
9
Gate set
HCXXZ
1 completed run · simulator

Grover's Search Algorithm

Searches an unstructured database of N=4 items using Grover's algorithm, finding the marked item with 100% probability in a single oracle query. Demonstrates amplitude amplification — the oracle marks the target with a phase flip, and the diffusion operator (inversion about the mean) boosts its probability from 25% to 100%. Provides a provably optimal quadratic speedup: O(sqrt(N)) vs O(N) classical.

IntermediateAlgorithmGrover+3
Framework
Qiskit
Qubits
2
Depth
8
Gate set
HXZCZ

Deleted runs still count, so these numbers can be too high.