-
algorithms-index Public
OpenQC Algorithm Catalog — central index for all quantum algorithm repos
Python Other UpdatedOct 29, 2026 -
w-state Public
W state: symmetric 3-qubit entangled state (|001⟩ + |010⟩ + |100⟩)/√3.
OpenQASM UpdatedMar 24, 2026 -
superdense-coding Public
Transmit 2 classical bits using 1 qubit and a pre-shared Bell pair (encodes message '11').
OpenQASM UpdatedMar 24, 2026 -
vqe Public
Find the ground-state energy of a Hamiltonian using a parameterized ansatz and classical optimizer. This minimal H2 example uses a single Ry rotation.
UpdatedMar 24, 2026 -
vqe-hubbard Public
Simulate the Fermi-Hubbard model on a small lattice using VQE. The Hubbard model describes electron interactions in materials — fundamental to understanding superconductivity, magnetism, and strong…
UpdatedMar 24, 2026 -
vqe-h2o Public
Find the ground state energy of water (H2O) using VQE. Requires 8-12 qubits depending on basis set and orbital reduction. Full Hamiltonian needs Qiskit Nature for dynamic generation from molecular …
UpdatedMar 24, 2026 -
vqe-bond-scan Public
Scan ground state energy across multiple bond lengths to map the potential energy surface. Runs VQE at each geometry point and plots energy vs distance. Requires dynamic Hamiltonian generation at e…
UpdatedMar 24, 2026 -
vqe-beh2 Public
Find the ground state energy of beryllium hydride (BeH2) using the Variational Quantum Eigensolver. Uses a 6-qubit parity-mapped Hamiltonian with 15 representative Pauli terms from the STO-3G basis…
UpdatedMar 24, 2026 -
teleportation Public
Teleport the state of qubit 0 to qubit 2 using a pre-shared Bell pair and classical communication.
UpdatedMar 24, 2026 -
surface-code Public
The rotated surface code on a 3x3 grid (distance 3). Uses 9 data qubits and 8 syndrome ancillas with nearest-neighbor connectivity. The dominant QEC code for superconducting hardware.
UpdatedMar 24, 2026 -
repetition-code Public
The simplest quantum error-correcting code. Encodes one logical qubit into 5 physical qubits (distance 3) with 4 syndrome ancillas to detect single bit-flip errors.
UpdatedMar 24, 2026 -
qaoa Public
Approximate combinatorial optimization using alternating problem and mixer unitaries. This 4-qubit example targets a MaxCut problem on a 4-node ring graph with p=1.
UpdatedMar 24, 2026 -
qaoa-vrp Public
Solve the Vehicle Routing Problem (VRP) via QAOA with QUBO encoding. Multiple vehicles serve customers from a depot, minimizing total distance. Generalization of TSP with capacity constraints. QUBO…
UpdatedMar 24, 2026 -
qaoa-tsp Public
Solve the Travelling Salesman Problem using QAOA with QUBO penalty encoding. N cities are mapped to N^2 binary variables (x_{i,p} = city i at position p). Constraints enforce each city visited once…
UpdatedMar 24, 2026 -
qaoa-graph-coloring Public
Solve graph coloring using QAOA with QUBO penalty encoding. N nodes with K colors use N*K binary variables. One-hot constraint per node (exactly one color) plus penalty for same-color adjacent node…
UpdatedMar 24, 2026 -
protein-folding-qubo Public
Solve simplified protein folding using QUBO formulation on a coarse-grained lattice model. Maps amino acid sequences to lattice positions, minimizes energy via annealing. Research-grade problem — e…
UpdatedMar 24, 2026 -
ghz-state Public
Greenberger–Horne–Zeilinger (GHZ) state: maximally entangled 3-qubit state (|000⟩ + |111⟩)/√2.
OpenQASM UpdatedMar 24, 2026 -
e91-qkd Public
Simulate the E91 QKD protocol (Ekert, 1991). Uses shared Bell pairs for key distribution. Alice and Bob measure in different bases — matching bases yield key bits, non-matching bases test the CHSH …
UpdatedMar 24, 2026 -
drug-docking-vqe Public
Estimate drug-target binding affinity using VQE for the interaction Hamiltonian between a small molecule and protein binding site. Requires quantum chemistry stack to compute molecular interaction …
UpdatedMar 24, 2026 -
classical-tensor-network Public
Simulate quantum circuits classically using tensor network contraction. Handles 30-50 qubit circuits that are too large for statevector simulation but have limited entanglement depth. Uses quimb/co…
UpdatedMar 24, 2026 -
bell-state Public
Preparation of the maximally entangled two-qubit Bell state |Φ⁺⟩ = (|00⟩ + |11⟩)/√2.
OpenQASM UpdatedMar 24, 2026 -
b92-qkd Public
Simulate the B92 QKD protocol (Bennett, 1992). A simplified version of BB84 using only 2 non-orthogonal states (|0> and |+>) instead of 4. Bob's conclusive measurements yield key bits. Simpler but …
UpdatedMar 24, 2026 -
annealing-maxcut Public
Solve MaxCut graph partitioning via quantum/simulated annealing. Same problem as qaoa-maxcut but uses annealing instead of gate-based QAOA. Compare results across paradigms: gate-based (QAOA) vs an…
UpdatedMar 24, 2026 -
annealing-jobshop Public
Solve job-shop scheduling via annealing with QUBO encoding. Each job has ordered tasks assigned to machines with durations. Minimizes makespan (latest completion time). Real-world operations resear…
UpdatedMar 24, 2026 -
vqe-ansatz Public
4-qubit hardware-efficient variational ansatz for VQE (Variational Quantum Eigensolver), 2-layer Ry-Rz-CNOT structure.
OpenQASM UpdatedMar 23, 2026 -
trotter-ising Public
One first-order Trotter step simulating the 1D transverse-field Ising model on 4 qubits (J=1, h=0.5, dt=0.1).
OpenQASM UpdatedMar 23, 2026 -
swap-test Public
Measure |⟨ψ|φ⟩|² between two quantum states using a Fredkin (controlled-SWAP) gate.
OpenQASM UpdatedMar 23, 2026 -
steane-seven-qubit Public
First CSS code: encodes 1 logical qubit in 7 physical qubits, corrects any single-qubit error using the classical Hamming [7,4] code.
OpenQASM UpdatedMar 23, 2026 -
simons-algorithm Public
Find the hidden period s='11' of a 2-to-1 function f(x) = f(x⊕s) with exponential quantum speedup.
OpenQASM UpdatedMar 23, 2026 -
shor-period-finding Public
Core period-finding subroutine of Shor's algorithm: find the period r of f(x) = 7^x mod 15.
OpenQASM UpdatedMar 23, 2026