Quantum trajectory simulation
A classical stochastic simulation method that averages pure-state evolutions conditioned on sampled noise events.
Also called Monte Carlo wavefunction simulation
On this page
Definition and significance
Quantum trajectories represent an open-system ensemble through many sampled statevector histories. They can require less memory per trajectory than a dense density matrix, but ensemble observables acquire Monte Carlo uncertainty. A trajectory is a mathematical unraveling, not necessarily a uniquely observed physical history.
Mechanism and mathematical treatment
For Kraus operators K_j, a pure input |psi> selects branch j with probability p_j=<psi|K_j dagger K_j|psi>. The normalized branch is K_j|psi>/sqrt(p_j). Averaging outer products over branches recovers sum_j K_j|psi><psi|K_j dagger.
Fully worked reference example
For amplitude damping of input |1> with gamma=1/4, the no-jump branch remains |1> with probability 3/4, while the jump branch becomes |0> with probability 1/4. The ensemble density matrix is diag(1/4,3/4), and <Z>=-1/2. Averaging the statevectors themselves would give a different object and is incorrect.
Limitations and common misconceptions
Different Kraus decompositions can describe the same channel but yield different trajectory stories. Convergence depends on the observable and number of samples. Correlated or non-Markovian noise may require a richer model.
Scientific relationships
Sampled pure-state branches can approximate ensemble observables with lower per-trajectory memory.
Superposition damping with unequal branch observables
Apply amplitude damping with gamma=1/2 to |+>. The no-jump operator gives the unnormalized vector (|0>/sqrt(2)+|1>/2), whose squared norm is 3/4. Its normalized state is (sqrt(2)|0>+|1>)/sqrt(3). The jump operator produces |0>/2, with probability 1/4, and normalized state |0>. Averaging the two outer products gives rho=[[3/4,sqrt(2)/4],[sqrt(2)/4,1/4]].
The resulting Bloch components are <X>=1/sqrt(2), <Y>=0, and <Z>=1/2. Its purity is 7/8. Averaging the two normalized statevectors themselves would produce neither this matrix nor a generally normalized physical ensemble description. Trajectory sampling combines probabilities with density operators or with conditional observable expectations.
For X, the no-jump state's expectation is 2sqrt(2)/3 and the jump state's expectation is zero. A simulator that evaluates each selected trajectory's expectation exactly therefore samples a classical variable with mean 1/sqrt(2) and variance (3/4)(8/9)-1/2=1/6. The sample-mean variance from T independent trajectories is 1/(6T).
Trajectory variance differs from measurement variance
If the simulator instead draws one X measurement outcome from each selected trajectory, the final outcome is plus or minus one and has variance 1-1/2=1/2. The law of total variance separates this into conditional measurement variance averaging to 1/3, plus between-trajectory variance 1/6. Evaluating the expectation within each classical trajectory removes the former sampling layer; it does not remove the stochastic trajectory uncertainty.
For Z, the two conditional expectations are 1/3 and one. Their between-trajectory variance is 1/12, whereas a single physical Z outcome has variance 3/4. The conditional measurement contribution is therefore 2/3. The best simulation strategy can depend strongly on which observable is requested, even for the same channel and initial state.
For this one-step, two-branch example, summing both weighted branches exactly is simpler than Monte Carlo. Trajectory sampling becomes useful when the number of possible histories grows too quickly to enumerate, while each individual history remains manageable. Per-trajectory memory savings therefore trade against the number of samples and the observable-dependent variance, rather than providing an unconditional runtime improvement.
Different unravelings of one channel
Let K0 and K1 be the damping Kraus operators. Replacing them by L_plus=(K0+K1)/sqrt(2) and L_minus=(K0-K1)/sqrt(2) leaves the channel unchanged because the cross terms cancel when both outcomes are summed. For the |+> input, these alternative branch probabilities are 1/2+sqrt(2)/4 and 1/2-sqrt(2)/4. Neither branch is simply the original jump or no-jump state.
Thus the same final density matrix has multiple valid trajectory descriptions. An interpretation as an actually observed jump history additionally requires a physical environment-measurement model selecting that unraveling. A numerical decomposition chosen for convenience is not by itself such a measurement record. Different decompositions can also change the Monte Carlo variance of a selected observable even while their ensemble mean agrees.
Two damping steps and an exact history sum
Apply the same gamma=1/2 channel twice. The effective damping parameter is 1-(1-1/2) squared=3/4. Starting from |+>, the final density matrix is [[7/8,1/4],[1/4,1/8]]. Its purity is 29/32, illustrating that damping can initially mix a state and later purify it toward the ground state.
The two-step histories can also be enumerated. No jump in either step has probability 5/8 and leaves (2|0>+|1>)/sqrt(5). A no-jump first step followed by a jump has probability 1/8. A jump in the first step followed by no jump has probability 1/4. Both latter histories leave |0>, and two jumps have probability zero. Their weighted outer products reproduce the stated matrix exactly. A zero-probability branch is excluded before normalization rather than divided by a zero norm.
Continuous-time trajectories introduce another layer: a numerical integration step approximates nonunitary no-jump evolution and jump probabilities. Reducing Monte Carlo uncertainty by adding trajectories does not remove a finite time-step error. Conversely, refining the time integration does not remove ensemble sampling error. Those convergence axes should be checked separately, using an exact or high-accuracy density-matrix reference where tractable.
Sources
Verification scope
Recorded source check ·
Simulation guide retrieved; explicit qubit_order semantics and distinction between state and measurement output inspected.
Conceptual reference semantics only. No code execution or universal backend support claim.