← Atlas

Algorithms · Ground-state preparation · variational imaginary time

Quantum imaginary-time evolution

A ground-state preparation method that projects non-unitary imaginary-time evolution onto a parameterized quantum circuit.

Strong empiricalUpdated

Open on the mapView frozen graph

q[0]q[1]Step 1 of 3 · Ansatz RY · on q[0], q[1]Ansatz RYStep 2 of 3 · Entangle · on q[0], q[1]EntangleStep 3 of 3 · Measure A,C · on q[0], q[1]Measure A,C

3 steps across 2 wires. Hover a step, or press play to go through them in order.

Expected outcomes

  • Lower-energy update80%
  • Conditioning / residual20%
  • Steps3
  • Wires2
  • Qubits2 in the ansatz sketch
  • Classical stepSolve metric × velocity = force
  • TargetLow-energy / ground-state preparation
  • Papers1
Native
qite_update_sketch.py
import numpy as np

# One QITE step. The two measurement functions are the parts that come
# from a device or simulator; they are stood in for here with the
# analytic values of a single-qubit RY ansatz under H = -Z, so the whole
# file runs as written. Replace them with real measurements to use it.
def measure_metric(theta):
    return np.array([[0.25]])  # Fubini-Study metric of RY(theta) on one qubit

def measure_imaginary_time_force(theta):
    # -d<H>/dtheta / 2 for H = -Z, where <H> = -cos(theta), so the step
    # descends toward theta = 0 (the ground state) rather than away from it.
    return np.array([-0.5 * np.sin(theta[0])])

theta = np.array([0.3])
dt = 0.05
metric = measure_metric(theta)
force = measure_imaginary_time_force(theta)
velocity = np.linalg.solve(metric + 1e-8 * np.eye(len(theta)), force)
theta = theta + dt * velocity
print('theta after one imaginary-time step:', theta)

RESULT = {'theta': [float(v) for v in theta], 'velocity': [float(v) for v in velocity]}

References

Strong empirical
  • Verified by construction
  • Small-instance agreement
  • Peer-reviewed paper
Method
The record follows the McLachlan-style projection of imaginary-time evolution onto a parameterized ansatz and checks that a two-qubit update lowers the energy on a simple Hamiltonian.
Result
Pass · the update direction is consistent with imaginary-time descent for the toy ansatz and the catalog keeps the metric/force measurement step explicit.
Caveat
The snippet is an implementation sketch, not a claim that every variational ansatz can represent the exact ground state or that the metric is well-conditioned.
Determining eigenstates and thermal states on a quantum computer using quantum imaginary time evolution ↗
Kind
curated reference
Reviewed by
Leona Quantum curation pass
License
CC BY 4.0-compatible reference metadata
imaginary timeground statevariationalquantum chemistry
  • Ground-state preparation for quantum chemistry
  • Thermal-state and finite-temperature estimation
  • Variational warm starts for larger simulation workflows

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.