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
Circuits after Transpilation should give similar result, but not.
from qiskit.quantum_info import Statevector from qiskit.compiler import transpile with open('acircuit.qpy', 'rb') as handle: qc = qpy.load(handle) wo = transpile(qc, basis_gates=['cz', 'swap', 'cx', 'tdg', 's', 'sdg', 'h', 'rz'], optimization_level=1)[0] w = transpile(wo, basis_gates=['cz', 'swap', 'cx', 'tdg', 's', 'sdg', 'h', 'rz'], optimization_method="zxpass") print(Statevector(wo)) print(Statevector(w))
ill attach acircuit.qpy acircuit.zip
acircuit.qpy
the statevector should be the same.
If it's correct, please guide me how to make the statevector output to be the same. Thank you in advance.
The text was updated successfully, but these errors were encountered:
We don't define an optimization_method called zxpass; you must be pulling that in from some external plugin.
optimization_method
zxpass
Sorry, something went wrong.
No branches or pull requests
Environment
What is happening?
Circuits after Transpilation should give similar result, but not.
How can we reproduce the issue?
ill attach
acircuit.qpy
acircuit.zip
What should happen?
the statevector should be the same.
Any suggestions?
If it's correct, please guide me how to make the statevector output to be the same. Thank you in advance.
The text was updated successfully, but these errors were encountered: