Skip to content

Allow setting only X-type or only Z-type logicals of a QuditCode#441

Merged
perlinm merged 6 commits intomainfrom
set_logical_ops
Apr 7, 2026
Merged

Allow setting only X-type or only Z-type logicals of a QuditCode#441
perlinm merged 6 commits intomainfrom
set_logical_ops

Conversation

@perlinm
Copy link
Copy Markdown
Collaborator

@perlinm perlinm commented Apr 7, 2026

Suitable conjugate logicals are found automatically. Fixes #372

This PR also fixes a bug in qldpc.math.symplectic_conjugate and its usage in the library.

@perlinm perlinm merged commit 46447b6 into main Apr 7, 2026
3 checks passed
@perlinm perlinm deleted the set_logical_ops branch April 7, 2026 20:49
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.

Add QuditCode.set_logical_ops_[x|z]

1 participant