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

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

VQE for HeH+ Ion

VQE demo labelled helium hydride cation (HeH+), the first molecule to form in the universe: a simplified 2-qubit model Hamiltonian with a UCCSD-inspired 3-parameter ansatz. The model is not HeH+'s real Hamiltonian, so its energies are not HeH+'s (FCI/STO-3G gives -2.8516 Hartree). Explains what changes in the qubit Hamiltonian of a heteronuclear molecule.

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

QAOA for TSP

Applies QAOA to the Traveling Salesman Problem 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. The cost Hamiltonian combines distance terms with row and column constraint penalties.

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

VQE for BeH2 Molecule

VQE scaling demo labelled beryllium hydride (BeH2): a 6-qubit, 14-term illustrative model Hamiltonian, a 2-layer hardware-efficient ansatz and 24 variational parameters. The model is not computed from BeH2, so its energies are not BeH2's (FCI/STO-3G gives -15.5951 Hartree). Shows how VQE scales to 6 qubits and a harder parameter landscape.

IntermediateChemistryVqe+2
Framework
Qiskit
Qubits
6
Depth
14
Gate set
RYRZCX

Kernel-Target Alignment

Optimizes quantum kernel parameters to maximize centered kernel-target alignment (CKA) — a principled score measuring how well a kernel matrix matches label structure. Uses a parameterized encoding with data-dependent and trainable rotations, optimized via Adam with PennyLane autograd.

AdvancedMachine_LearningKernel+4
Framework
PennyLane
Qubits
4
Depth
38
Gate set
RYRZCX

QAOA for Knapsack

Applies the Quantum Approximate Optimization Algorithm (QAOA) to the 0/1 Knapsack problem with a QUBO penalty method: select items to maximize total value within a weight capacity. Default: 4 items, capacity 18, optimal value 35 (items {1,2} or {0,3}). A quadratic penalty P(Σwᵢxᵢ - C)², which favors filling exactly to C, folds the capacity into a cost layer of RZ and RZZ rotations.

IntermediateOptimizationQaoa+2
Framework
Qiskit
Qubits
4
Depth
9
Gate set
HRZZRX
1 completed run · simulator

QAOA for Portfolio

Applies the Quantum Approximate Optimization Algorithm (QAOA) to asset portfolio selection. Encodes the Markowitz mean-variance model as a QUBO with a return term, a covariance risk term and a quadratic budget penalty, in a cost layer of RZ and RZZ rotations. Default: 4 assets, budget of 2, risk factor 0.5. Walks through the QUBO-to-QAOA pipeline for financial optimization.

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

LiH Excited States

Runs VQD for ground and excited states on a simplified 4-qubit toy model labelled LiH, not an electronic-structure Hamiltonian for LiH, so its energies are not LiH's. Shows how VQD scales from 2 to 4 qubits with multi-circuit Pauli measurement; the model cannot show LiH's ionic-covalent mixing or avoided crossing.

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

Trainable Quantum Kernel

Quantum kernel with learnable parameters optimized via kernel-target alignment (KTA). Interleaves data encoding (angle encoding) with trainable RZ/RY rotations and CNOT entanglement, then uses PennyLane autograd to maximize KTA, a differentiable proxy for classification performance. Compares the trained kernel with a random baseline; at the default budget the gain is small and not always positive.

AdvancedMachine_LearningKernel+3
Framework
PennyLane
Qubits
4
Depth
22
Gate set
RYRZCX
1 completed run · simulator

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

3-Qubit Bit Flip Code

The simplest quantum error correcting code: encodes 1 logical qubit into 3 physical qubits (+ 2 syndrome ancillae) to detect and correct a single bit-flip (X) error. Introduces syndrome extraction, conditional correction, and the stabilizer formalism. It does not protect against phase (Z) errors.

IntermediateError_CorrectionBit Flip+2
Framework
Qiskit
Qubits
3
Depth
3
Gate set
CX
1 completed run · simulator

Expressibility Analysis

Quantifies ansatz expressiveness via fidelity sampling and KL divergence from the Haar-random distribution, comparing simple, HEA, and strongly entangling architectures (Sim et al. 2019).

AdvancedAnsatzExpressibility+3
Framework
Cirq
Qubits
4
Depth
9
Gate set
RYRZCZCNOT

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

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

Bell State

Creates the Bell state |Phi+> = (|00> + |11>)/sqrt(2), the simplest demonstration of quantum entanglement. Two qubits are prepared so that their measurement outcomes are perfectly correlated. Such pairs are the resource behind teleportation, superdense coding, and entanglement-based quantum key distribution.

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

H2 Excited States (VQD)

Finds ground and first excited states of a two-qubit model Hamiltonian based on H2 using Variational Quantum Deflation (VQD), a sequential variational algorithm that adds overlap penalties to enforce orthogonality between solutions. The model adds a Y0Y1 term to H2's Hamiltonian, so its gap (~0.85 Ha) is not H2's (about 0.61 Ha in STO-3G).

AdvancedChemistryVqd+3
Framework
Qiskit
Qubits
2
Depth
6
Gate set
RYCX

VQE H2 (Peruzzo 2014)

VQE for the H2 molecule with a one-parameter ansatz, in simulation. Named after Peruzzo et al. (Nature Communications, 2014), the first VQE experiment, which computed the ground-state energy of the helium hydride ion (HeH+) on a photonic chip.

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

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

QAOA for Graph Coloring

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

IntermediateOptimizationQaoa+2
Framework
Qiskit
Qubits
4
Depth
6
Gate set
HRZZRX
2 completed runs · simulator

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