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
Permute
This example:
import pecos.slr prog = pecos.slr.Main( a := pecos.slr.CReg("a", size=1), b := pecos.slr.CReg("b", size=1), pecos.slr.Permute(a, b), a[0].set(1), a.set(1), ) print(prog.qasm())
prints
... // Permuting: b[0] -> a[0] b[0] = 1; a = 1;
This behavior will cause problems when using the values of classical registers that have been permuted.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This example:
prints
This behavior will cause problems when using the values of classical registers that have been permuted.
The text was updated successfully, but these errors were encountered: