[][src]Function qip::pipeline::make_circuit_matrix

pub fn make_circuit_matrix<P: Precision>(
    n: u64,
    q: &Qubit,
    natural_order: bool
) -> Vec<Vec<Complex<P>>>

Create a circuit for the circuit given by q. If natural_order, then the qubit with index 0 represents the lowest bit in the index of the state (has the smallest increment when flipped), otherwise it's the largest index (which is the internal state used by the simulator).