Playground

VQE Suite

A hardware efficient variational quantum eigensolver for molecular hydrogen, plus a NISQ error mitigation panel demonstrating Zero Noise Extrapolation, both running as real simulations in your browser.

Live Tool

VQE Suite

A real variational quantum eigensolver for H2, simulated in the browser: an exact statevector simulator, the parameter shift optimizer, and a density matrix error mitigation pipeline, no backend required.

Represents: the actual qubit Hamiltonian this simulator diagonalizes and optimizes against, every coefficient below is a real number the code computes with, not a label→ docs

H = − 0.4804·I + 0.3435·Z₀ − 0.4347·Z₁ + 0.5716·Z₀Z₁ + 0.0910·Y₀Y₁ + 0.0910·X₀X₁

g₀ = -0.4804 Ha

g(Z₀) = 0.3435 Ha

g(Z₁) = -0.4347 Ha

g(Z₀Z₁) = 0.5716 Ha

g(Y₀Y₁) = 0.0910 Ha

g(X₀X₁) = 0.0910 Ha

Nuclear repulsion (R = 0.75 Å): 0.705570 Ha · H₂ (STO-3G, parity reduced to 2 qubits) · O'Malley et al., Phys. Rev. X 6, 031007 (2016)

Ansatz circuit

q0q1|0⟩XRY(θ)
h2-vqe-zne, zsh

H2 (STO-3G, R = 0.75 Å) · O'Malley et al., Phys. Rev. X 6, 031007 (2016)

-1.156-1.145-1.135-1.125-1.115exact (FCI): -1.1456 Haiteration

Iterations

40

Converged θ

-0.2297

VQE Energy

-1.145630 Ha

Error vs. exact

0.0000 mHa