Skip to content

Commit

Permalink
add documentation of single qubit problem (#278)
Browse files Browse the repository at this point in the history
* add documentation of single qubit problem

* change docs

* Update pytket/binders/mapping.cpp

Co-authored-by: Alec Edgington <[email protected]>

Co-authored-by: Alec Edgington <[email protected]>
  • Loading branch information
cqc-melf and cqc-alec authored Mar 8, 2022
1 parent 90767b2 commit 10af38d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pytket/binders/mapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ PYBIND11_MODULE(mapping, m) {
LexiLabellingMethod, std::shared_ptr<LexiLabellingMethod>, RoutingMethod>(
m, "LexiLabellingMethod",
"Defines a RoutingMethod for labelling Qubits that uses the "
"Lexicographical Comparison approach outlined in arXiv:1902.08091.")
"Lexicographical Comparison approach outlined in arXiv:1902.08091.\n"
"This method is only labelling interacting qubits that have multi qubit "
"gates on them. To get qubits with only single qubits gates or no gates "
"at all labelled, too, please use a placer in addition")
.def(py::init<>(), "LexiLabellingMethod constructor.");

py::class_<
Expand Down

0 comments on commit 10af38d

Please sign in to comment.