Repository navigation
fix: Mantissa overflows - #204
Merged
Merged
Conversation
zubyul
pushed a commit
to plurigrid/quizx
that referenced
this pull request
Nov 2, 2026
## 🤖 New release
* `quizx`: 0.3.0 -> 0.4.0 (⚠ API breaking changes)
### ⚠ `quizx` breaking changes
```text
--- failure trait_added_supertrait: non-sealed trait added new supertraits ---
Description:
A non-sealed trait added one or more supertraits, which breaks downstream implementations of the trait
ref: https://doc.rust-lang.org/cargo/reference/semver.html#generic-bounds-tighten
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/trait_added_supertrait.ron
Failed in:
trait quizx::tensor::TensorElem gained TryFrom in file /tmp/.tmpYFVENU/quizx/quizx/src/tensor.rs:64
--- failure trait_method_missing: pub trait method removed or renamed ---
Description:
A trait method is no longer callable, and may have been renamed or removed entirely.
ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-item-signature
impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/trait_method_missing.ron
Failed in:
method to_tensor64 of trait ToTensor, previously in file /tmp/.tmprDJATN/quizx/src/tensor.rs:110
```
<details><summary><i><b>Changelog</b></i></summary><p>
<blockquote>
##
[0.4.0](https://github.com/zxcalc/quizx/compare/quizx@v0.3.0...quizx@v0.4.0)
- 2026-11-01
### Bug Fixes
- typo in README
- bug in cutrank caching
([zxcalc#173](zxcalc#173))
- remove stale edges from rank cache
- another caching bug in rankwidth
- Preserve boundaries and scalars when copying graphs
([zxcalc#199](zxcalc#199))
- Parse Qiskit phase gates in custom QASM definitions
([zxcalc#200](zxcalc#200))
- adding a self-loop should not add two edges
([zxcalc#187](zxcalc#187))
- Support ancilla and post-selection circuit tensors
([zxcalc#203](zxcalc#203))
- Mantissa overflows ([zxcalc#204](zxcalc#204))
### New Features
- [**breaking**] Added dyadic rational type and new scalars based on
this type ([zxcalc#158](zxcalc#158))
- use bitgauss library for fast F2 linear algebra
([zxcalc#161](zxcalc#161))
- [**breaking**] low-rankwidth decompositions of ZX diagrams
([zxcalc#166](zxcalc#166))
- [**breaking**] Python bindings for rankwidth functions
([zxcalc#168](zxcalc#168))
- added keyword args and properties to bindings
([zxcalc#169](zxcalc#169))
- Extend pyzx compatibility to >=0.9,<0.11
([zxcalc#198](zxcalc#198))
- implement approximate equality of tensors with floating point scalars
([zxcalc#137](zxcalc#137))
([zxcalc#182](zxcalc#182))
- implement Circuit::optimize (basic gate-level optimisation)
([zxcalc#193](zxcalc#193))
- implement Z-X bialgebra rewrite rule
([zxcalc#189](zxcalc#189))
### Testing
- add unit tests for gate, phase, util, random_graph, annealer, cli,
json ([zxcalc#188](zxcalc#188))
</blockquote>
</p></details>
---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Agustín Borgna <agustinborgna@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the last bug causing #137