multistate#

Zurich Instruments Utility functions for multi-state discrimination.

Functions

compare_threshold(threshold, integration_result)

Compares an integration result with a threshold.

config_to_device(daq, dev, qa_channel, ...)

Configures the qudit settings to the device.

get_qudits_results(daq, dev, qa_channel)

Downloads the qudit results from the device and group them by qudit.

get_settings_transaction(dev, qa_channel, ...)

Compiles a list of settings to apply to the device.

weighted_integration(weight_vec, signal)

Computes the weighted integration.

Classes

IntegrationWeight(state_left, state_right)

Represents integration weights vectors for one-vs-one classification.

QuditSettings(ref_traces)

Collection of qudit settings for multistate discrimination.

QuditState(index, label, ref_trace)

Qudit state with associated reference trace.