diff --git a/pytket/binders/circuit/boxes.cpp b/pytket/binders/circuit/boxes.cpp index 2cbe4f02fa..5c559db712 100644 --- a/pytket/binders/circuit/boxes.cpp +++ b/pytket/binders/circuit/boxes.cpp @@ -704,9 +704,8 @@ void init_boxes(py::module &m) { ":param compute: the compute operation\n" ":param action: the action operation\n" ":param uncompute: optional uncompute operation, default to " - "compute.dagger(). If provided, the user needs to make sure that the " - "unitary matrices of uncompute.dagger() and compute must be the " - "equal.", + "compute.dagger(). If provided, the user needs to make sure that " + "uncompute.dagger() and compute have the same unitary.", py::arg("compute"), py::arg("action"), py::arg("uncompute") = std::nullopt) .def( diff --git a/tket/include/tket/Circuit/ConjugationBox.hpp b/tket/include/tket/Circuit/ConjugationBox.hpp index 38cb99c4eb..62fac23ad5 100644 --- a/tket/include/tket/Circuit/ConjugationBox.hpp +++ b/tket/include/tket/Circuit/ConjugationBox.hpp @@ -32,8 +32,8 @@ class ConjugationBox : public Box { * @param compute the compute operation * @param action the action operation * @param uncompute optional uncompute operation, default to compute.dagger(). - * If provided, the user needs to make sure that the unitary matrices of - * uncompute.dagger() and compute must be equal. + * If provided, the user needs to make sure that uncompute.dagger() and + * compute have the same unitary. */ explicit ConjugationBox( const Op_ptr &compute, const Op_ptr &action,