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
from qlasskit import Qint8, Qint16, Qlist, boolopt, qlassfa @qlassfa(bool_optimizer=boolopt.fastOptimizer) def test(a_list: Qlist[Qint8, 8]) -> Qint16: h_val = Qint16(0) for c in a_list: h_val = h_val + c return h_val
Raises:
Exception: duplicate qubit in gate append: [64, 64, 75, 83]
The text was updated successfully, but these errors were encountered:
This also occurs using circuit_boolean_optimizer:
circuit_boolean_optimizer
from qlasskit import qlassf, Qint4 from qlasskit.decompiler import Decompiler, circuit_boolean_optimizer @qlassf def qf(a: Qint4) -> Qint4: return a * a circuit_boolean_optimizer(qf.circuit())
Exception: duplicate qubit in gate append: [16, 16]
Sorry, something went wrong.
e3d4635
fixes #9, duplicate qubits in some edge case
efbeb6e
No branches or pull requests
Raises:
The text was updated successfully, but these errors were encountered: