Improving energy estimation of a chemistry Hamiltonian with SQD
Ainda não traduzido
Esta página ainda não foi traduzida. Você está vendo a versão original em inglês.
In this tutorial we implement a Qiskit pattern showing how to post-process noisy quantum samples to find an approximation to the ground state of a chemistry Hamiltonian: the molecule at equilibrium in the 6-31G basis set. We will follow a sample-based quantum diagonalization approach to process samples taken from a 36-qubit quantum circuit ansatz (in this case, an LUCJ circuit). In order to account for the effect of quantum noise, the configuration recovery technique is used.
The pattern can be described in four steps:
- Step 1: Map to quantum problem
- Generate an ansatz for estimating the ground state
- Step 2: Optimize the problem
- Transpile the ansatz for the backend
- Step 3: Execute experiments
- Draw samples from the ansatz using the
Samplerprimitive
- Draw samples from the ansatz using the
- Step 4: Post-process results
- Self-consistent configuration recovery loop
- 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.
- Self-consistent configuration recovery loop
For this example, the interacting-electron Hamiltonian takes the generic form: