Skip to content

QPY19: Correct handling of Python gates with nontrivial initialization - #17391

Draft
Gadi Aleksandrowicz (gadial) wants to merge 24 commits into
Qiskit:mainfrom
gadial:qpy_19_from_python_handling
Draft

Gadi Aleksandrowicz (gadial) wants to merge 24 commits into
Qiskit:mainfrom
gadial:qpy_19_from_python_handling

Conversation

@gadial

@gadial Gadi Aleksandrowicz (gadial) commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Note: This PR makes many changes to existing python gates in order to enable them to be correctly serialized. This is intended as a starting point in a discussion on how to handle the current situation where the QPY framework makes it difficult to correctly handle those gates; this is not yet intended as a definitive solution.

AI/LLM disclosure

  • No part of this submission is LLM generated.
  • Some written text was generated by:
  • Some submitted code was generated by: Claude code

@ShellyGarion Shelly Garion (ShellyGarion) added the mod: qpy Related to QPY serialization label Nov 2, 2026
@gadial Gadi Aleksandrowicz (gadial) added this to the 2.7.0 milestone Nov 2, 2026
@github-project-automation github-project-automation Bot moved this to Ready in Qiskit 2.7 Nov 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod: qpy Related to QPY serialization

Projects

Status: Ready

Development

Successfully merging this pull request may close these issues.

2 participants