Naive.NaiveBackend
A simple quantum circuit simulation backend based on Qubit-Wise Multiplication.
Returns the indices of the state amplitudes required for the ith iteration of a gate on target t.
val controls_check : int -> Circuit.adr list -> bool
Check if an iteration should execute based on the controls of the gate.
val matrix_for_gate : Circuit.gate_kind -> matrix
Returns the matrix corresponding to a gate.
val apply_gate : Circuit.gate -> qstate -> unit