Skip to content

Commit

Permalink
fix: correct type of qubit_indices
Browse files Browse the repository at this point in the history
The left member of the tuple should be a Register.
  • Loading branch information
johnchildren committed Sep 14, 2023
1 parent ab86010 commit fecef0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/circuit_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub enum OpBox {
id: BoxID,
/// Number of qubits.
n_qubits: u32,
qubit_indices: Vec<(u32, u32)>, // TODO: come back to this one.
qubit_indices: Vec<(Register, u32)>,
},
/// A user-defined assertion specified by a list of Pauli stabilisers.
StabiliserAssertionBox {
Expand Down

0 comments on commit fecef0c

Please sign in to comment.