quantify_scheduler.operations.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$^-$. |
|
run the ionization laser and the spin pump laser with a photon count to perform a |
- 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_index: Union[Tuple[int, Ellipsis], int] = None, acq_protocol: Literal[Trace, TriggerCount, None] = None, bin_mode: quantify_scheduler.enums.BinMode = None, data: Optional[dict] = None)[source]
Bases:
quantify_scheduler.operations.operation.Operation
run the ionization laser and the spin pump laser with a photon count to perform a charge and resonance count.
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_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.
data –
The operation’s dictionary, by default None
Note: if the data parameter is not None all other parameters are overwritten using the contents of data.
Deprecated: support for the data argument will be dropped in quantify-scheduler >= 0.13.0. Please consider updating the data dictionary after initialization.