Skip to content

pyqir opaque pointers + docs & refs updates#265

Merged
ryanhill1 merged 14 commits into
mainfrom
rh1-docs-and-refs
Feb 10, 2026
Merged

pyqir opaque pointers + docs & refs updates#265
ryanhill1 merged 14 commits into
mainfrom
rh1-docs-and-refs

Conversation

@ryanhill1
Copy link
Copy Markdown
Member

Summary of changes

This pull request introduces support for SQUIN conversions and updates compatibility for newer versions of PyQIR, including handling both typed and opaque pointers. Documentation and metadata have been updated to reflect these changes, and test workflows now cover both pyqir 0.10.x and 0.12+ versions. The most important changes are grouped below.

SQUIN integration and documentation updates:

  • Added SQUIN conversion support, including new installation instructions (README.md, pyproject.toml, CITATION.cff, docs/index.rst, docs/api/qbraid_qir.squin.rst).

PyQIR compatibility improvements:

  • Introduced _pyqir_compat.py to provide a unified API for both typed and opaque pointer versions of PyQIR (0.10.x and 0.12+), and updated Cirq visitor logic to use this compatibility layer.

Test workflow enhancements:

  • Modified GitHub Actions workflow to run tests separately for pyqir 0.10.x and 0.12+, combine coverage, and generate unified reports.

Metadata and dependency updates:

  • Updated project metadata, dependencies, and classifiers to support new Python and PyQIR versions, and reflect SQUIN support.

Changelog and example updates:

  • Cleaned up and reorganized CHANGELOG.md, removing old release details and referencing the Releases page. Updated submodule reference in examples.

@ryanhill1 ryanhill1 marked this pull request as ready for review February 10, 2026 18:34
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 94.11765% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
qbraid_qir/_pyqir_compat.py 92.00% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@ryanhill1 ryanhill1 merged commit a80e966 into main Feb 10, 2026
7 checks passed
@ryanhill1 ryanhill1 deleted the rh1-docs-and-refs branch February 10, 2026 20:18
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

Successfully merging this pull request may close these issues.

1 participant