[−][src]Function qip::pipeline::make_circuit_matrix
pub fn make_circuit_matrix<P: Precision>(
n: u64,
r: &Register,
natural_order: bool
) -> Vec<Vec<Complex<P>>>
Create a circuit for the circuit given by r
. 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).