Skip to content

chore: Update to zixy 0.4 - #437

Merged
CalMacCQ merged 8 commits into
mainfrom
cm/zixy0.4
Oct 1, 2026
Merged

CalMacCQ merged 8 commits into
mainfrom
cm/zixy0.4

Conversation

@CalMacCQ

@CalMacCQ CalMacCQ commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Updates to zixy 0.4.

Two small changes besides the version bump

  1. Removed the underscored SymplecticPart import in _state_gen.py now that feat: expose SymplecticPart for tableau canonicalization zixy#143 is released

  2. Added an additonal type: ignore statement in code_def.py to appease mypy. Spoke with Ollie about this and he says he was suprised mypy worked on this line before. The offending line of code is

y_term = ComplexSign(1) * (self.x_logicals[j] * self.z_logicals[j])

@CalMacCQ
CalMacCQ requested a review from a team as a code owner October 1, 2026 12:18
@CalMacCQ
CalMacCQ requested a review from hsemenenko October 1, 2026 12:18
@CalMacCQ CalMacCQ changed the title chore: update to zixy 0.4 chore: Update to zixy 0.4 Oct 1, 2026
Comment thread pyproject.toml Outdated
"tket>=0.15.8",
"tket-exts>=0.14.0",
"zixy~=0.3.2",
"zixy~=0.4",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to include the patch version so that the allowed version is bounded by <0.5 rather than <1.0.

Suggested change
"zixy~=0.4",
"zixy~=0.4.0",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Redid the version bump with 0.4.0

@CalMacCQ

CalMacCQ commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Should I try to satisfy clippy in this PR? See Code Quality failure here

@hsemenenko hsemenenko left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Merge the fix from main for the clippy error.

@CalMacCQ
CalMacCQ enabled auto-merge (squash) October 1, 2026 16:38
@CalMacCQ
CalMacCQ merged commit 70ef35d into main Oct 1, 2026
21 checks passed
@CalMacCQ
CalMacCQ deleted the cm/zixy0.4 branch October 1, 2026 16:41
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