diff --git a/tangelo/linq/translator/translate_qiskit.py b/tangelo/linq/translator/translate_qiskit.py index 182426c80..72f01970c 100644 --- a/tangelo/linq/translator/translate_qiskit.py +++ b/tangelo/linq/translator/translate_qiskit.py @@ -20,6 +20,9 @@ - how the gate names differ between the source backend to the target backend. - how the order and conventions for some of the inputs to the gate operations may also differ. + +The module also enables bidirectional conversion between qiskit and Tangelo +qubit operators (linear combination of Pauli operators) """ from tangelo.toolboxes.operators import QubitOperator diff --git a/tangelo/linq/translator/translate_qubitop.py b/tangelo/linq/translator/translate_qubitop.py index ce5b396d5..fd6df634c 100644 --- a/tangelo/linq/translator/translate_qubitop.py +++ b/tangelo/linq/translator/translate_qubitop.py @@ -29,8 +29,7 @@ def translate_operator(qubit_operator, source, target, n_qubits=None): """Function to convert a qubit operator defined within the "source" format - to another format. Only the translation from and to tangelo are currently - supported. + to a "target" format. Args: qubit_operator (source format): Self-explanatory.