Model
Transmons
Quantum processors operate based on the manipulation of qubits. To simulate how quantum circuits behave on such devices, we model their Hamiltonian. The Hamiltonian for a transmon qubit, is given by:
where \(N\) is the number of qubits, \(\omega_{q_i}\) is the qubit frequency and \(\alpha_i\) is the anhamronicity for the \(i\):th qubit. We often work in a rotating frame to simplify calculations. This involves applying a transformation \(U(t) = e^{i\omega_r t a^\dagger a}\), where \(\omega_r\) is the rotating frame frequency. In this frame, the Hamiltonian becomes:
Here \(\Delta_i = \omega_{q_i} - \omega_{r_i}\) represents the detuning of the i-th qubit, which is the difference between its intrinsic frequency and the rotating frame frequency.
Example: Initializing a Model with Hardware Parameters
The SarimnerModel
allows us to create a model with specific hardware parameters. Here's an example of how to initialize such a model:
This code defines qubit frequencies and anharmonicities for a single qubit system (N=1) and creates a SarimnerModel
object to represent the physical system.
Note: All simulations are performed in the rotating frame of the individual qubits.