Function __quantum__qis__assertmeasurementprobability__ctl

Source
pub unsafe extern "C" fn __quantum__qis__assertmeasurementprobability__ctl(
    _ctls: *const QirArray,
    arg_tuple: *mut *const Vec<u8>,
)
Expand description

QIR API for checking internal simulator state and verifying the probability of the given parity measurement result for the given qubits in the given Pauli bases is equal to the expected probability, within the given tolerance. Note that control qubits are ignored.

ยงSafety

This function should only be called with arrays created by the QIR runtime library.