Tutorials¶
Here is a list of notebooks that introduce the basics of the package. They are also available in the examples directory as plain .py files using the py:percent format. See our installation guide on how to run them on your own.
- 1. Building Circuits
- 2. Chemistry to qubit Hamiltonians
- 3. Textbook QPE
- 4. Trotter-Suzuki Decomposition of \(U(t)\)
- 5. QPE with Trotterization
- 6. QPE with Linear Combination of Unitaries
- 7. Robust Phase Estimation
- 8.
quimb-qiskitMPS Benchmark - 9. MPO to circuit transpilation
- 10. Variational circuit preparation I
- 11. Variational Circuit Preparation II
Details¶
building_circuits explains how to create, plot, record and load quantum circuits in
quimbandqiskit.chemistry_to_qubit describes how to build the qubit Hamiltonian and perform the Density Matrix Renormalization Group (DMRG) algorithm for a given molecule.
textbook_qpe introduces the textbook Quantum Phase Estimation algorithm assuming time evolution is implemented exactly.
trotter_decomposition introduces the Trotter-Suzuki decomposition to implement a time evolution operator \(U\).
qpe_with_trotter studies the Quantum Phase Estimation algorithm using Trotterization of the evolution operator, and provides resource estimates.
qpe_with_lcu gives an introduction to Block Encoding via Linear Combination of Unitaries.
robust_phase_estimation introduces the Robust Phase Estimation algorithm, based on the Hadamard test circuit.
performance_mps compares the performance of
quimbandqiskitwhen contracting and sampling circuits with Matrix Product States.circuit_preparation_opt and circuit_preparation_approximate_local_opt finds an initial guess state with variational circuit optimization.
mpo_to_circuit transpiles an MPO unitary operator into a nearest-neighbor brickwall circuit.