Skip to content

Commit

Permalink
fix stirng
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdilkes committed Nov 19, 2024
1 parent 26970b6 commit ac9c319
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion pytket/binders/passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,9 @@ PYBIND11_MODULE(passes, m) {
"single solution in one thread."
"\n:param only_reduce: Only returns modified circuit if it has "
"fewer two-qubit gates."
"\n:param trials: Sets maximum number of found solutions."
"\n:param trials: Sets maximum number of found solutions. The "
"smallest circuit is returned, prioritising the number of 2qb-gates, "
"then the number of gates, then the depth."
"\n:return: a pass to perform the simplification",
py::arg("discount_rate") = 0.7, py::arg("depth_weight") = 0.3,
py::arg("max_lookahead") = 500, py::arg("max_tqe_candidates") = 500,
Expand Down
6 changes: 2 additions & 4 deletions pytket/binders/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,8 @@ PYBIND11_MODULE(transform, m) {
"\n:param thread_timeout: Sets maximum out of time spent finding a "
"single solution in one thread."
"\n:param trials: Sets maximum number of found solutions. The "
"circuit "
"smallest circuit is returned, priorising the number of 2qb-gates, "
"then "
"gates, then depth."
"smallest circuit is returned, prioritising the number of 2qb-gates, "
"then the number of gates, then the depth."
"\n:return: a pass to perform the simplification",
py::arg("discount_rate") = 0.7, py::arg("depth_weight") = 0.3,
py::arg("max_tqe_candidates") = 500, py::arg("max_lookahead") = 500,
Expand Down

0 comments on commit ac9c319

Please sign in to comment.