pub unsafe extern "C" fn __quantum__qis__assertmeasurementprobability__body(
paulis: *const QirArray,
qubits: *const QirArray,
result: *mut c_void,
prob: f64,
msg: *const CString,
tol: f64,
)
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.
ยงSafety
This function should only be called with arrays created by the QIR runtime library.