Skip to content

Releases: qua-platform/py-qua-tools

v0.17.0

18 Apr 16:02
7223a7a
Compare
Choose a tag to compare

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 to qualang_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

25 Jan 12:56
a4ec130
Compare
Choose a tag to compare

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 and dBm2volts.

Changed

  • Eased package dependencies, requires python 3.8 or above
  • Unit - demod2volts now has a single_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

07 Sep 10:35
1348ecb
Compare
Choose a tag to compare

Added

  • results - Add wait_until_job_is_paused() to block python console until the OPX sequence reaches a pause() 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 for kHz, MHz and GHz.
  • 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

05 Jul 11:52
Compare
Choose a tag to compare

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

16 May 06:59
8627a60
Compare
Choose a tag to compare

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

23 Mar 11:38
acd7f4a
Compare
Choose a tag to compare
  • 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

23 Feb 16:46
0971420
Compare
Choose a tag to compare

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 returns 1/4 within an open qm.qua.program scope and 1 otherwise. Same for us, ms, s, and clock_cycle. By default results of a * ns operation are cast to int 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

18 Nov 13:21
3ebc069
Compare
Choose a tag to compare

Fixed

  • Fix init files.

v0.13.0

18 Nov 11:35
57e28f3
Compare
Choose a tag to compare

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 the run function.

Changed

  • Plot.plots - Added functions to plot results from qua programs (plot_demodulated_data 1D and 2D, get_simulated_samples_by_element and plot_simulator_output)
  • Bakery - Now uses the more efficient frame_rotation_2pi instead of frame_rotation.

Fixed

  • Bakery - Fixed cases in which a frame_rotation_2pi(0.0) was added .

v0.12.0

05 Sep 13:18
de59486
Compare
Choose a tag to compare

Changed

  • Breaking change! - Waveform tools - Added a missing 2$\pi$ factor into detuning parameter in drag_gaussian_pulse_waveforms and drag_cosine_pulse_waveforms.
    This will produce different results compared to previous versions, to get the same results, divide the detuning parameter by 2pi. Both detuning, delta, and anharmonicity are now expected inHz rather than rad; a 2$\pi$ multiplication occurs in the built-in function.
  • Waveform tools - Renamed argument delta to anharmonicity in drag_gaussian_pulse_waveforms and drag_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