nv_native_library#
NV-center-specific operations for use with the quantify_scheduler.
Module Contents#
Classes#
Prepare a NV to its negative charge state NV$^-$. |
|
Operate ionization and spin pump lasers for charge and resonance counting. |
- class ChargeReset(*qubits: str)[source]#
Bases:
quantify_scheduler.operations.operation.Operation
Prepare a NV to its negative charge state NV$^-$.
Create a new instance of ChargeReset operation that is used to initialize the charge state of an NV center.
- Parameters:
qubit – The qubit to charge-reset. NB one or more qubits can be specified, e.g.,
ChargeReset("qe0")
,ChargeReset("qe0", "qe1", "qe2")
, etc..
- class CRCount(*qubits: str, acq_channel: Hashable | None = None, acq_index: tuple[int, Ellipsis] | int = None, acq_protocol: Literal['Trace', 'TriggerCount', None] = None, bin_mode: quantify_scheduler.enums.BinMode = None)[source]#
Bases:
quantify_scheduler.operations.operation.Operation
Operate ionization and spin pump lasers for charge and resonance counting.
Gate level description for an optical CR count measurement.
The measurement is compiled according to the type of acquisition specified in the device configuration.
- Parameters:
qubits – The qubits you want to measure
acq_channel – Only for special use cases. By default (if None): the acquisition channel specified in the device element is used. If set, this acquisition channel is used for this measurement.
acq_index – Index of the register where the measurement is stored. If None specified, it will default to a list of zeros of len(qubits)
acq_protocol – Acquisition protocol (currently
"TriggerCount"
and"Trace"
) are supported. IfNone
is specified, the default protocol is chosen based on the device and backend configuration.bin_mode – The binning mode that is to be used. If not None, it will overwrite the binning mode used for Measurements in the quantum-circuit to quantum-device compilation step.