nv_native_library ================= .. py:module:: quantify_scheduler.operations.nv_native_library .. autoapi-nested-parse:: NV-center-specific operations for use with the quantify_scheduler. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: quantify_scheduler.operations.nv_native_library.ChargeReset quantify_scheduler.operations.nv_native_library.CRCount .. py:class:: ChargeReset(*qubits: str) Bases: :py:obj:`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. :param qubit: The qubit to charge-reset. NB one or more qubits can be specified, e.g., :code:`ChargeReset("qe0")`, :code:`ChargeReset("qe0", "qe1", "qe2")`, etc.. .. py: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) Bases: :py:obj:`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. :param qubits: The qubits you want to measure :param 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) :param acq_protocol: Acquisition protocol (currently ``"TriggerCount"`` and ``"Trace"``) are supported. If ``None`` is specified, the default protocol is chosen based on the device and backend configuration. :param 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.