Function getNumQubits

Source
pub unsafe extern "C" fn getNumQubits(qureg: Qureg) -> c_int
Expand description

Returns the number of qubits represented by \p qureg.

@see

  • getNumAmps()

@ingroup calc @param[in] qureg a state-vecor or density matrix @return qureg.numQubitsRepresented @author Tyson Jones