Variational Quantum Eigensolver (VQE) studies of the 1D transverse-field Ising model (TFIM), built with Qiskit and benchmarked against exact diagonalization with QuSpin. Three related investigations share the same Hamiltonian and symmetry-preserving ansätz infrastructure:
- Ground-state VQE with symmetry-preserving ansätze (periodic, open, and antiperiodic boundary conditions),
- Symmetry-broken VQE: spontaneous magnetization from a pinning field, with finite-size extrapolation to the thermodynamic limit,
- Subspace-Search VQE (SSVQE): excited states and energy gaps from a single optimization.
A fourth directory adapts the ground-state pipeline to run on real IBM hardware.
The Hamiltonian used throughout is
with periodic (PBC), open (OBC), or antiperiodic (APBC) boundary conditions. The symmetry-broken VQE notebook adds a symmetry-breaking field to the 'last' qubit,
ground_state/
Ising_model_VQE.ipynb Main ground-state study: symmetry-preserving PBC/OBC ansätze,
QuSpin comparison, estimator-variance analysis, multi-restart VQE
Ising_VQE_quspin.ipynb Qiskit-free companion: the ansatz unitary built by hand in QuSpin
Ising_APBC.ipynb Antiperiodic-boundary-condition variant
symmetry_broken/
Ising_sb_VQE.ipynb Symmetry-broken VQE: pinning field, magnetization per site for
N = 4…12, 1/N extrapolation to N → ∞, vs. exact diagonalization
data/ Magnetization data (g = 0.5)
ssvqe/
SSVQE_scaling.ipynb Subspace-search VQE: low-lying spectrum, gaps, and fidelities
SSVQE_v2.ipynb Refactored SSVQE driver with optimizer callback
hardware/
Ising_VQE_ibm_runtime.ipynb IBM Runtime pipeline: native-gate ansatz decomposition,
transpilation, dynamical decoupling, FakeBrisbane or real backend
figures/ Result figures for each subproject
The ansatz preserves the model's symmetries by construction: brick-pattern layers of num_layers times (default
The
SSVQE optimizes a weighted sum of energies over mutually orthogonal initial states, producing ground and excited states from a single optimization. The notebooks study the low-lying spectrum and energy gap of the TFIM as a function of
hardware/Ising_VQE_ibm_runtime.ipynb adapts the ground-state pipeline for real devices:
- transpilation uses
optimization_level=3withsabrerouting and dynamical decoupling (X–X sequence), - energies are estimated with
EstimatorV2, with COBYLA driving the optimization, - a
USE_SIMULATORflag switches betweenFakeBrisbane(noise model based on the IBM Brisbane device) and a real backend chosen viaQiskitRuntimeService.least_busy.
Running on real hardware requires a configured QiskitRuntimeService account. The IBM Open Plan does not support Session()-based execution; set USE_SIMULATOR = True (or use a paid plan) accordingly.
pip install -r requirements.txt
Key knobs common to the notebooks: N (number of spins), gs (field-strength sweep), num_layers (ansatz depth), PBC (boundary conditions), USE_SIMULATOR (hardware notebook only).
The results are complete; the notebooks are still being polished (narrative text, re-running the hardware notebook to embed outputs). A short write-up of the ground-state study is in preparation and will be added under docs/.




