Skip to content

Remove hard dependency on cirq in qdk.qre#3347

Merged
msoeken merged 2 commits into
mainfrom
msoeken/cirq
Jun 18, 2026
Merged

Remove hard dependency on cirq in qdk.qre#3347
msoeken merged 2 commits into
mainfrom
msoeken/cirq

Conversation

@msoeken

@msoeken msoeken commented Jun 17, 2026

Copy link
Copy Markdown
Member

This removes the hard dependency on cirq in QRE. It's possible now to import, e.g., QSharpApplication if cirq-core is note installed.

If the user wants to import CirqApplication, one needs to install pip install qdk[qre,cirq]. This message is also printed if the user tries to instantiate CirqApplication when cirq-core is not installed.

The pyproject.toml is updated accordingly.

All tests that require cirq are in one file and guarded by pytest.importskip, but cirq is available in tests.

Comment thread source/qdk_package/qdk/qre/interop/__init__.py Outdated
@msoeken msoeken enabled auto-merge June 18, 2026 08:54
@msoeken msoeken added this pull request to the merge queue Jun 18, 2026
Merged via the queue into main with commit a2f8f92 Jun 18, 2026
12 checks passed
@msoeken msoeken deleted the msoeken/cirq branch June 18, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants