Function qir_runner::qubit_is_zero
source · pub fn qubit_is_zero(qubit: *mut c_void) -> bool
Expand description
Rust API for checking internal simulator state and returning true only if the given qubit is in exactly the |0⟩ state.
pub fn qubit_is_zero(qubit: *mut c_void) -> bool
Rust API for checking internal simulator state and returning true only if the given qubit is in exactly the |0⟩ state.