Tato stránka zatím nebyla přeložena do češtiny. Zobrazujete původní anglickou verzi.
Utility-scale experiment II
Yukio Kawashima (12 July 2024)
Download the pdf of the original lecture. Note that some code snippets might become deprecated since these are static images.
Approximate QPU time to run this experiment is 2 m 30 s.
(Note that this notebook used texts, illustration, and codes from a now-deprecated tutorial notebook for Qiskit Algorithms.)
1. Introduction and review of time-evolution
This notebook follows the methods and techniques of lesson 7. Our goal is to numerically solve the time-dependent Schrödinger equation. As discussed in lesson 7, Trotterization consists in the successive application of a quantum gate or gates, chosen to approximate the time evolution of a system for a time slice. We repeat that discussion here for convenience. Feel free to skip to the code cells below if you have recently reviewed lesson 7.
Following from the Schrödinger equation, the time evolution of a system initially in the state takes the form:
where is the time-independent Hamiltonian governing the system. We consider a Hamiltonian that can be written as a weighted sum of Pauli terms , with representing a tensor product of Pauli terms acting on qubits. In particular, these Pauli terms might commute with one another, or they might not. Given a state at time , how do we obtain the system's state at a later time using a quantum computer? The exponential of an operator can be most easily understood through its Taylor series:
Some very basic exponentials, like can be implemented easily on quantum computers using a compact set of quantum gates. Most Hamiltonians of interest will not have just a single term, but will instead have many terms. Note what happens if :