pub fn capture_quantum_state() -> (Vec<(BigUint, Complex<f64>)>, usize)
Expand description

Rust API for getting a snapshot of current quantum state. The state is a sorted copy of the current sparse state represented by a vector of pairs of indices and complex numbers along with the total number of currently allocated qubits to help in interpreting the state.