Skip to content

Commit

Permalink
Change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-cqc committed Aug 18, 2023
1 parent c9efb13 commit b903c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tket/src/Circuit/Boxes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ QControlBox::QControlBox(
: control_state) {
if (n_controls != control_state_.size()) {
throw CircuitInvalidity(
"The argument control_state doesn't match the argument n_controls");
"The size of control_state doesn't match the argument n_controls");
}
op_signature_t inner_sig = op_->get_signature();
n_inner_qubits_ = inner_sig.size();
Expand Down

0 comments on commit b903c08

Please sign in to comment.