We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circuit.has_implicit_permutation
This property would give a Boolean value indicating whether a Circuit has a non-trivial permutation of the qubits.
Circuit
This would save having to check in python with something like the following
def _has_implicit_permutation(circ: Circuit) -> bool: return any(q0 != q1 for q0, q1 in circ.implicit_qubit_permutation().items())
We could then use this Circuit.has_implicit_permutation property in pytket-qiskit CQCL/pytket-qiskit#412 and other places.
Low priority
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This property would give a Boolean value indicating whether a
Circuit
has a non-trivial permutation of the qubits.This would save having to check in python with something like the following
We could then use this
Circuit.has_implicit_permutation
property in pytket-qiskit CQCL/pytket-qiskit#412 and other places.Low priority
The text was updated successfully, but these errors were encountered: