Sample-Based Quantum Diagonalization (SQD)
A near-term, research-level approach to The Ground-State Problem for quantum chemistry: the ground-state energy is the extremal eigenvalue of a Hamiltonian living in a -dimensional space — exponentially large and exponentially sparse — but in practice the true eigenvector’s amplitudes have only polynomial support (only a small number of electron configurations actually matter). SQD exploits this: use a quantum circuit to find which configurations matter, then diagonalize classically in just that subspace.
Mechanics
A quantum circuit prepares ; sampling it gives bitstrings with probability . Each bitstring parametrizes a Slater determinant (e.g. 110101 = a specific electron-orbital occupation pattern — this is exactly the fermion encoding from Hamiltonians and Encoding for Quantum Circuits). Writing over the sampled set , solving
means building restricted to the sampled subspace and diagonalizing it classically (CPU), after the sampling itself happened on the QPU. The quantum computer’s only job is proposing which basis states are worth including — the actual linear algebra is classical.
Self-consistent configuration recovery
Real samples are noisy — some sampled bitstrings violate particle-number conservation, which is physically impossible for the true ground state. Key insight: rather than discarding noisy samples, compute the average per-orbital occupancy from the whole sample set, then probabilistically flip bits in noisy samples (weighted by how far each bit is from the average occupancy and a target filling factor) to restore valid particle number. Recompute occupancies from the corrected samples, iterate — this squeezes real signal out of a noisy QPU rather than throwing noisy shots away.
Full loop: Sample (QPU) → postselect + recover configurations (CPU, using occupancies) → project + diagonalize + update occupancies → repeat.
Concretely, the flip-probability weighting is for filling an empty orbital (0 at occupancy 0, at occupancy 1 — never fill an orbital that’s usually empty, strongly prefer filling one that’s usually occupied) and its mirror for emptying an occupied one. The very first iteration has no measured occupancy yet, so it bootstraps from the Hartree-Fock occupancy (the cheap classical mean-field guess — orbitals filled from lowest energy up) as the initial prior, then replaces it with the diagonalizer’s own output occupancy each subsequent iteration.
Reference-subspace augmentation
A useful diagnostic and quality boost: build a purely classical baseline subspace by brute-force enumerating the lowest-excitation-rank Slater determinants around the Hartree-Fock reference (no chemical insight, just systematic enumeration) and diagonalizing in that fixed set alone. This typically beats pure-sampling SQD, since hardware noise can suppress chemically important near-HF configurations that a classical enumeration would never drop. Pinning the best of these classical reference determinants as a guaranteed floor in the subspace — while still letting quantum samples fill the remaining slots each iteration — typically both lowers the energy further and tightens the run-to-run variance. If this reference-augmented result beats the classical-reference-only baseline, that’s a concrete, falsifiable instance of quantum utility: the quantum sampling contributed configurations no brute-force classical enumeration found on its own.
Extension: excited states
The same sampled subspace can be reused for excited states via quantum subspace expansion: build for excitation operators (single/double excitations), then solve the generalized eigenvalue problem within the same sampled bitstring basis — no new quantum sampling needed.
Real-world scale
N₂ bond-breaking curves matching classical HCI references better than RHF/CISD/CCSD across the whole curve; a Fe₄S₄ cluster calculation at 77 qubits approaching CCSD-level accuracy as the subspace dimension grows to . Qiskit addon: qiskit-addon-sqd — tutorials for chemistry Hamiltonians and fermionic lattice models.
Related
- The Ground-State Problem
- Hamiltonians and Encoding for Quantum Circuits — the Slater-determinant/fermion encoding this relies on
- The LUCJ Ansatz — the circuit that prepares for SQD
- SKQD and SqDRIFT
- Hybrid Workflow Patterns — VQE and SQD at HPC Scale — what HPC does around this loop
- SQD on N₂ (Worked Example) — a full end-to-end run of this loop, including the concrete recovery weight function and reference-subspace augmentation described above
Self-Check
- Why does SQD only need the quantum computer to sample, not to compute the final energy?
- Could you explain what self-consistent configuration recovery fixes, and why average occupancy is the right signal to use?
- Why does polynomial (not exponential) support in the true ground state make this whole approach tractable?
- Why does beating a classical brute-force reference subspace count as “quantum utility” when beating Hartree-Fock alone does not?