You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains methods for simulation stochastic quantum trajectories for a qubit coupled to a resonator undergoing dispersive measurement.
Weak measurement
Weak measurements are implemented by coupling the system to a measurement apparatus or meter $|\Phi\rangle$, then performing a projective measurement on the meter. If the meter is initially in a Gaussian state
$$\langle r | \Phi\rangle = \exp{\left[-\frac{r^2 dt}{4\tau}\right]}$$,
then dispersive measurement can be modeled as a unitary operation that shifts the measurement readout $r$ depending on the state of the qubit,
The width of the Gaussian is given by the ratio between $dt$, the time over which the system and meter are allowed to interact, and the characteristic measurement time $\tau$, which is determined by the strength of the interaction. If $dt\ll \tau$, then there is significant overlap between the two outcomes, and the measurement is considered weak.
A stochastic quantum trajectory is obtained by repeating this process many times.
Simulating stochastic trajectories
This simualtor can be used to generate stochastic trajectories for a qubit undergoing an additional drive.
First, create a qubit in a state given by a Bloch vector $(x,y,z)$, then create the measurements and controls to be applied. Right now there is one of each implemented: WeakMeasurement and RabiDrive. A weak measurement can be applied with any strength tau, any measurement efficiency eta, any measurement direction (unlike in the description above, where I focused on a $z$ measurement). The Rabi drive is applied with an angle of pi, meaning if it were applied alone, it would rotate the state from $+Y$ to $-Y$. Here's an example where a qubit initially in a $y$ eigenstate is subjected to a weak measurement of its $z$ coordinate while we also apply a Rabi drive that rotates the qubit around the $x$ axis.