Skip to content

Commit

Permalink
Time-dependent measurement fixed, interface tweaked
Browse files Browse the repository at this point in the history
  • Loading branch information
justindressel committed Jan 5, 2017
1 parent 143fd7b commit cfb0715
Show file tree
Hide file tree
Showing 8 changed files with 845 additions and 997 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ f(t) = 2*exp(-(t-3*τ)^2/2)/sqrt(2π)
H(t) = f(t)*/2)*q("y");

# Measurement dephasing
DM = sqrt/2)*q("z");
DM = [sqrt/2)*q("z")];
# Stochastic monitoring (quantum-limited efficiency)
SM = [(q("z"), τ, 1.0)]

# Bloch coordinate expectation values
fs = collect-> real(expect(ρ, q(l))) for l in ["x","y","z"])

# Lindblad pulse trajectory (plotting code omitted)
t = trajectory(lind(dt, H, DM), init, T, fs..., dt=dt)
t = trajectory(lind(dt, H, clist=DM), init, T, fs..., dt=dt)
```

INFO: Trajectory: steps = 1799, points = 1000, values = 3
Expand All @@ -56,7 +56,7 @@ t = trajectory(lind(dt, H, DM), init, T, fs..., dt=dt)

```julia
# Stochastic pulse trajectory (plotting code omitted)
t = trajectory(meas(dt, H, SM), init, T, fs..., dt=dt)
t = trajectory(meas(dt, H, mclist=SM), init, T, fs..., dt=dt)
```

INFO: Trajectory: steps = 1799, points = 1000, values = 3
Expand All @@ -69,7 +69,7 @@ t = trajectory(meas(dt, H, SM), init, T, fs..., dt=dt)
```julia
# Stochastic pulse ensemble (plotting code omitted)
# No parallelization of ensemble creation
t = ensemble(2500, meas(dt, H, SM), init, T, fs..., dt=dt)
t = ensemble(2500, meas(dt, H, mclist=SM), init, T, fs..., dt=dt)
# Mean plotted with Std-Dev shaded behind it
```

Expand All @@ -84,7 +84,7 @@ t = ensemble(2500, meas(dt, H, SM), init, T, fs..., dt=dt)
```julia
# Stochastic CW Z-Y measurement (plotting code omitted)
SM = [(q("z"), τ, 0.4), (q("y"), τ, 0.4)]
t = trajectory(meas(dt, H, SM), init, T, fs..., dt=dt)
t = trajectory(meas(dt, H, mclist=SM), init, T, fs..., dt=dt)
```

INFO: Trajectory: steps = 899, points = 899, values = 3
Expand All @@ -98,7 +98,7 @@ t = trajectory(meas(dt, H, SM), init, T, fs..., dt=dt)
# Stochastic CW Z-Y measurement ensemble (plotting code omitted)
# Parallelization enabled with 4 additional processes
SM = [(q("z"), τ, 0.4), (q("y"), τ, 0.4)]
t = ensemble(2000, meas(dt, H, SM), init, T, fs..., dt=dt)
t = ensemble(2000, meas(dt, H, mclist=SM), init, T, fs..., dt=dt)
# Mean plotted with Std-Dev shaded behind it
```

Expand Down
211 changes: 102 additions & 109 deletions notebooks/DiffEqTest.ipynb

Large diffs are not rendered by default.

703 changes: 282 additions & 421 deletions notebooks/OneQubitStochasticTest.ipynb

Large diffs are not rendered by default.

390 changes: 175 additions & 215 deletions notebooks/OneQubitTest.ipynb

Large diffs are not rendered by default.

146 changes: 71 additions & 75 deletions notebooks/TransmonResonatorTest.ipynb

Large diffs are not rendered by default.

122 changes: 66 additions & 56 deletions notebooks/ZenoDragging.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit cfb0715

Please sign in to comment.