Releases: qua-platform/py-qua-tools
Releases · qua-platform/py-qua-tools
v0.17.0
Added
- Video_mode - New module to update some pre-defined parameters of a QUA program while fetching data from the OPX.
- simulator -
create_simulator_controller_connections
can now be used to create the connections between a subset of a large cluster. - results -
DataHandler
can be used to save data (values, matplotlib figures, numpy/xarray arrays) to the local file storage. - callable_from_qua - Framework used to call Python functions within the core of a QUA program.
- octave_tools - Added library of functions for manipulating the calibration database and updating the mixer correction parameters dynamically in Python or in QUA directly.
- digital_filters - Added library of functions allowing the derivation of the digital filter taps to correct distortions.
- macros - Added
long_wait
convenience macro to simplify waiting for longer than the maximum wait time.
Changed
- bakery - Added the possibility to use the
mwInput
key to enable baking compatibility with MW-FEM dedicated element. - config/waveform_tools - Added sampling rate argument with default value set to 1GS/s to the waveforms.
- simulator -
create_simulator_controller_connections
now creates the connections with a different algorithm that uses all available optical connections. - simulator -
create_simulator_controller_connections
order of input parameters has changed. - External_frameworks/qcodes - Fixed the unit of phase
- External_frameworks/qcodes - Added a flag to allow for the phase to remain wrapped
- results - Add a warning when timeout is reached in
wait_until_job_is_paused
.
Deprecated
- simulator -
qualang_tools.simulator_tools
has been deprecated and was moved toqualang_tools.simulator
.
Fixed
- loops - An error will be raised when the logarithmic step is too small (from_array & qua_logspace with integers).
v0.16.0
Fixed
- ConfigBuilder -
Element
now correctly accepts default arguments. - External_frameworks/qcodes - Fix bug with the setpoints when streaming the raw adc traces.
- bakery - add the
RF_inputs
key to be compatible with the Octave API from qm-qua>=1.1.5.
Added
- External_frameworks/qcodes - Added
update_readout_length()
to update locally the readout length of a given readout element and operation. - External_frameworks/qcodes - Added
update_qm()
to update the quantum machine (close and re-open it) in case the config has been updated. - External_frameworks/qcodes - Added
live_plotting()
to fetch and plot the OPX results while the program is running. - Unit - Added
volts2dBm
anddBm2volts
.
Changed
- Eased package dependencies, requires python 3.8 or above
- Unit -
demod2volts
now has asingle_demod
flag to correctly convert the data from single demodulation.
Deprecated
- ConfigBuilder and ConfigGUI are not being activity developed and may not have all config options
v0.15.2
Added
- results - Add
wait_until_job_is_paused()
to block python console until the OPX sequence reaches apause()
statement. - External_frameworks/qcodes - Added
cluster_name
as optional input parameter to connect to the OPX with QOP220 or above.
Changed
- Units.unit -
units.unit.Hz
now rounds the result and casts it to an integer if the flag coerce_to_integer is set to True. Same forkHz
,MHz
andGHz
. - External_frameworks/qcodes - Added
wait_until_job_is_paused()
in the resume() command to ensure that resume will be called only after the program reached the pause() statement.
v0.15.1
Changed
- Loosened requirements on
pandas
Added
- External_frameworks/qcodes - Add the possibility to input a scale factor to the get_measurement_parameter() function in order to convert the results from Volts to an arbitrary unit.
Fixed
- External_frameworks/qcodes - Now it is possible to plot several results on the same graph with the inspectr tool.
v0.15.0
Added
- External_frameworks - add QCoDeS drivers to set the OPX as a QCoDeS instrument.
- Examples - add examples to show how to integrate the OPX in your QCoDeS framework and customize the QCoDeS driver
v0.14.0
- Changed
qm-qua
requirements to be >=1.1.0
Added
- Config.helper_tools - Added the function
transform_negative_delays()
to adjust a config containing negative delays by offsetting all delays by the most negative one.
Fixed
- Fixed the loops library to support
qm-qua
1.1.0
v0.13.2
Added
- Plot.fitting - add resonator frequency vs flux fitting function.
- Plot.plots - add the possibility to fit the data to be plotted for plot_demodulated_data_1D.
- addons.variables.assign_variables_to_element - A function to force variables assignment to specific elements.
Changed
- Units.unit -
units.unit.ns
now returns1/4
within an openqm.qua.program
scope and1
otherwise. Same forus
,ms
,s
, andclock_cycle
. By default results ofa * ns
operation are cast toint
and a warning is generated if casting discards a nonzero remainder.
Fixed
- simulator_tools.create_simulator_controller_connections - now deals with the case of 1 controller.
v0.13.1
Fixed
- Fix init files.
v0.13.0
Added
- Multi-user Tools - A subpackage that allows several users to work simultaneously.
- Config.helper_tools - This package includes tools for writing and updating the configuration.
- Plot.fitting - This tool enables the use to fit results from qua programs.
- Bakery - Added a flag to disable the addition of an
align
to therun
function.
Changed
- Plot.plots - Added functions to plot results from qua programs (
plot_demodulated_data 1D and 2D
,get_simulated_samples_by_element
andplot_simulator_output
) - Bakery - Now uses the more efficient
frame_rotation_2pi
instead offrame_rotation
.
Fixed
- Bakery - Fixed cases in which a
frame_rotation_2pi(0.0)
was added .
v0.12.0
Changed
- Breaking change! - Waveform tools - Added a missing 2$\pi$ factor into
detuning
parameter indrag_gaussian_pulse_waveforms
anddrag_cosine_pulse_waveforms
.
This will produce different results compared to previous versions, to get the same results, divide thedetuning
parameter by 2pi. Bothdetuning
,delta
, andanharmonicity
are now expected inHz
rather thanrad
; a 2$\pi$ multiplication occurs in the built-in function. - Waveform tools - Renamed argument
delta
toanharmonicity
indrag_gaussian_pulse_waveforms
anddrag_cosine_pulse_waveforms
.
delta
is still accepted but will be deprecated in future versions. - ConfigBuilder - renamed arguments (backward compatible) in Element and MeasureElement classes.
- ConfigBuilder - renamed AnalogOutputPort attribute channel_weights to crosstalk
Added
- ConfigBuilder - PiecewiseConstantIntegrationWeights class.
- ConfigBuilder - added thread and Oscillator to Element class.
- ConfigBuilder - added shareable field to all ports.
- ConfigBuilder - added doc strings
Fixed
- ConfigBuilder - measure pulse type in the configuration
- ConfigBuilder - removed offset field in DigitalOutputPort
- ConfigBuilder - DigitalInputPort's port id
- ConfigBuilder - fixed len method of Parameter when a setter is used
- Fixed dependency to be compatible with qm-qua 0.4.0