HPC Tier Module

Variational Quantum Eigensolver (VQE) Simulator

Classical VQE statevector simulation of H2, validated against the exact closed-form ground-state energy.

See it run - a worked example, 100% in this browser tab

The problem

Learning or prototyping VQE usually means a heavy quantum SDK, and the variational energy is typically checked against another approximation rather than against exact truth.

The local-first solution

This plugin runs a classical statevector simulation of VQE for the 2-qubit reduced H2 Hamiltonian in your browser, optimizes a hardware-efficient ansatz with a deterministic golden-section search, and validates the energy against the exact lowest eigenvalue from closed-form 4x4 diagonalization. Deterministic f64 math, nothing uploaded.

What it does

Exact f64 complex-statevector simulation of the 6-term Pauli-sum H2 Hamiltonian
Particle-number-aware hardware-efficient single-rotation ansatz with an analytic E(theta) witness
Deterministic golden-section optimizer (no randomness, same answer every run)
Per-iteration energy recorded for the convergence chart
Exact ground-state reference by closed-form 2x2/4x4 diagonalization (no iterative solver)
Energy gap to the exact eigenvalue tested below chemical accuracy (1.6e-3 Hartree)

Honest scope

EXACT: the statevector linear algebra, Pauli-to-matrix construction, analytic E(theta), golden-section arithmetic, and closed-form eigenvalues in f64. The six Pauli coefficients are bond-length-indexed, basis-dependent cited constants (O'Malley 2016 / Kandala 2017 at R=0.7414 A, STO-3G) you confirm - always surfaced. NOT modeled: larger active spaces/bases, hardware/shot noise, error mitigation, multi-parameter trainability, excited states, or the full dissociation curve. A teaching/verification tool, not production electronic-structure guidance.

Authorities cited

Run VQE against exact truth

Run the simulation in your browser with nothing uploaded, then save the convergence chart and exact-energy gap to a Sandbox workspace or attach them to a Worklog case.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com