Nonig übersetzt
Di Siite isch nonig übersetzt worde. Dir luege d englischi Originalversion aa.
SQD for energy estimation of a chemistry Hamiltonian
In this lesson, we will apply SQD to estimate the ground state energy of a molecule.
In particular, we will discuss the following topics using the -step Qiskit pattern approach:
- Step 1: Map problem to quantum circuits and operators
- Setup the molecular Hamiltonian for .
- Explain the chemistry-inspired and hardware-friendly local unitary cluster Jastrow (LUCJ) [1]
- Step 2: Optimize for target hardware
- Optimize gate counts and layout of the ansatz for hardware execution
- Step 3: Execute on target hardware
- Run the optimized circuit on a real QPU to generate samples of the subspace.
- Step 4: Post-process results
- Introduce the self-consistent configuration recovery loop [2]
- Post-process the full set of bitstring samples, using prior knowledge of particle number and the average orbital occupancy calculated on the most recent iteration.
- Probabilistically create batches of subsamples from recovered bitstrings.
- Project and diagonalize the molecular Hamiltonian over each sampled subspace.
- Save the minimum ground state energy found across all batches and update the avg orbital occupancy.
- Introduce the self-consistent configuration recovery loop [2]
We will use several software packages throughout the lesson.
PySCFto define the molecule and setup the Hamiltonian.ffsimpackage to construct the LUCJ ansatz.Qiskitfor transpiling the ansatz for hardware execution.Qiskit IBM Runtimeto execute the circuit on a QPU and collect samples.Qiskit addon SQDconfiguration recovery and ground state energy estimation using subspace projection and matrix diagonalization.
1. Map problem to quantum circuits and operators
Molecular Hamiltonian
A molecular Hamiltonian takes the generic form: