Skip to content

Update for Graphix master#8

Merged
thierry-martinez merged 4 commits into
TeamGraphix:masterfrom
thierry-martinez:python_314
Mar 30, 2026
Merged

Update for Graphix master#8
thierry-martinez merged 4 commits into
TeamGraphix:masterfrom
thierry-martinez:python_314

Conversation

@thierry-martinez
Copy link
Copy Markdown
Collaborator

This PR updates the graphix symbolic plugin for graphix master.

thierry-martinez added a commit to thierry-martinez/graphix that referenced this pull request Mar 26, 2026
This commit prepares release v0.3.5.

These changes remove warnings produced by the test suite:

- Some warnings revealed actual bugs in `ComposeNoiseModel`, which did
  not pass `rng` correctly.

- One warning was due to a change in NumPy 2 that disallows cross
  products of 2D vectors. A specialized function `_cross2d` has been
  implemented instead (see numpy/numpy#26620 ).

- Some expected warnings are now filtered.

- Warnings about using the density matrix backend without a noise
  model were not reported at the correct location because `stacklevel`
  was missing. This is now fixed for a better developer experience:
  the warning is reported at the culprit call site rather than in
  internal functions.

The reverse dependency `graphix-stim-backend` is now tested against
the main branch, as is done for `veriphix`. This is still not the case
for other reverse dependencies, as the following pull requests are
awaiting approval:

[ ] `graphix-symbolic`: TeamGraphix/graphix-symbolic#8
[ ] `graphix-ibmq`: TeamGraphix/graphix-ibmq#24
@thierry-martinez thierry-martinez merged commit 4abf44a into TeamGraphix:master Mar 30, 2026
16 checks passed
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.

2 participants