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

Use QPY version 13 #2095

Open
1 task
jyu00 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #2096
Open
1 task

Use QPY version 13 #2095

jyu00 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #2096
Labels
enhancement New feature or request

Comments

@jyu00
Copy link
Collaborator

jyu00 commented Jan 7, 2025

What is the expected feature or enhancement?

Currently we hard code the QPY version used to 11:

if isinstance(obj, QuantumCircuit):
kwargs: Dict[str, object] = {"use_symengine": bool(optionals.HAS_SYMENGINE)}
if _TERRA_VERSION[0] >= 1:
kwargs["version"] = 11

QPY 13 (from Qiskit 1.3) made some improvement by removing symengine, so we should be using that version. This implies requiring Qiskit 1.3, which should be fine given there shouldn't be any breaking changes within the same major version. This would have to wait for Qiskit Runtime service to support 1.3 first though, and deprecation warning issued by 1.3 should be fixed.

Acceptance criteria

  • Use QPY 13 once the server side supports it.
@jyu00 jyu00 added the enhancement New feature or request label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant