conditional and virtual phase experiment improvements #1066
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
flux_pulse_amplitude
andflux_pulse_duration
from the experimentcorrect_virtual_z_phases
. I think they are not usefull - nobody is going to manually try out various combinations of these parameters to find a good one. There is theoptimize_two_qubit_gate
for this type of task.flux_pulse_duration
was not even used, it was ignored and always the flux pulse duration from platform was used.amplitude
argument of thecreate_sequence
function (as a consequence of the change in the above point). Rename theduration
argument toflux_pulse_max_duration
- this is needed for the optimize routine to make sure there is enough room for the duration sweep, and the flux pulse does not overlap with readout (this is different fromdt
, which is just a constant offset, not dependent on values used for sweep).create_sequence
function. Now it return the sequence, reference to the flux pulse, reference to the theta pulse.