Matthew Ware
Matthew Ware
Minimal working example: ``` function run_simulation(sys, rhoIn, measOp, times) populations = zeros(length(times)-1) U = eye(ComplexF64, dim(sys)) dt = 0.01 rho = rhoIn for ct = 1:length(times)-1 U = unitary_propagator(sys, dt,...
Seems like forcing amplitue to 0.0 on under and over runs is doing the trick. I'll probably merge into master soon.
If there are no objections(?), I'll do the honors.
So the calibration notebook needs an sql database file to run. I'll create one but maybe @grahamrow or @gribeill you have the one used to make the example notebooks?
So actually executing the code in the notebooks may not be the best idea without hardware. Maybe that's obvious in hindsight. Might need to generate fake data from the spectrum...
This is a symptom of the deeper issues we're chatting about. The right solution is to fix the data pipeline so the card doesn't timeout. But maybe we could explore...
I'm going to bump this. Now that there are active examples in the notebooks the need isn't that dire. On the other hand, I think things could still be improved.
The use case I had in mind was debugging when a fridge is warm and I don't want to actually connect to any instruments. I could always nuke the yaml...
At the moment, we still need to link the idea of not loading the libraries and creating fake data. Might also be nice to have an option to ignore all...
https://github.com/ipython/ipython/issues/9732 had a decent solution for this ```python ip = get_trait('kernel') if ip: # in notebook else: # not in notebook ```