Reducing circuit depth with the AQC-Tensor Qiskit addon
טרם תורגם
דף זה טרם תורגם. התוכן מוצג באנגלית.
In this notebook, we will work through the steps of a Qiskit pattern while using approximate quantum compilation with tensor networks (AQC-Tensor) to achieve a lower circuit depth than would ordinarily be needed to perform Trotter evolution.
These are the steps that we will take:
- Step 1: Map to quantum problem
- Initialize our problem's Hamiltonian and observable(s)
- Generate a target tensor-network state for the initial portion of the circuit
- Generate a low-depth circuit which approximates the portion being compressed
- Generate a general ansatz from that circuit
- Optimize the parameters to bring the ansatz as close as possible to the target
- Add subsequent Trotter steps to the optimized ansatz
- Step 2: Optimize for target hardware
- Transpile the circuit for hardware
- Step 3: Execute experiments
- Use a fake backend for simplicity
- Step 4: Reconstruct results
- N/A; instead, we just output the measured observable