Skip to content
New issue

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

tests should not depends on transpile #19

Open
Zhaoyilunnn opened this issue Jul 29, 2024 · 0 comments
Open

tests should not depends on transpile #19

Zhaoyilunnn opened this issue Jul 29, 2024 · 0 comments

Comments

@Zhaoyilunnn
Copy link
Owner

Some basis gates are not supported by pyquafu, thus the tests mail fail for different qiskit versions.

https://github.com/Zhaoyilunnn/qdao/blob/main/tests/qdao/engine_test.py#L245C9-L251

Specifically, transpile will decompose the circuit into backend specific basis gates. In newer versions of qiskit-aer, this will cause problem for pyquafu

Warning: Operations crz may be not supported by QuantumCircuit class currently.
Warning: Operations crz may be not supported by QuantumCircuit class currently.
Warning: Operations crz may be not supported by QuantumCircuit class currently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant