HPC Tier Module

Variational Quantum Eigensolver (VQE) Simulator

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

Worked example: H2 equilibrium (R = 0.7414 A)
Inputs
Hamiltonian sourceequilibrium
g0 (I, includes nuclear-repulsion offset)-0.4804
g1 (Z0)0.3435
g2 (Z1)-0.4347
g3 (Z0 Z1)0.5716
Result

VQE ground-state energy -1.851199 Ha vs exact -1.851199 Ha (gap 0.00e+0 Ha, within chemical accuracy) at theta* = -2.9118 rad.

VQE ground-state energy-1.85119912 Ha
Exact lowest eigenvalue-1.85119912 Ha
Energy gap (VQE - exact)0.000e+0 Ha
Chemical accuracy (<1.6e-3 Ha)MET
Optimal angle theta*-2.911849 rad
Optimizer iterations52
All eigenvalues (Ha)-1.85120, -0.25280, 0.00000, 0.18240
Coefficients used (g0..g5)-0.4804, 0.3435, -0.4347, 0.5716, 0.0910, 0.0910
Coefficient sourceO'Malley 2016, R = 0.7414 A, STO-3G (cited default)
TrustVALID (drift 1.81 / 2048 shades)

Computed by Variational Quantum Eigensolver (VQE) Simulator v1.0.0, the same plugin code the GDBS app runs, when this page was built. To run it on your own figures, open it in GDBS HPC.

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

Get an email when tools like this one change

Leave your email and we will tell you when we add or update Numerics & Tools tools like this one, at most once a month.

We email you once to confirm. After that, unsubscribe from any issue in one click. Your address goes to VaultSync only (privacy).

Related tools

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