Repository navigation
Commit 61da210
authored
ppvm-pauli-word-2 Patch (#246)
This patch introduces the ppvm-pauli-word-2 crate from
#204. On top of the crate
shown in that PR, this patch also includes the following:
- Separate parsing and formatting, phase representation, hashing, and
gate operations into into modules
- Reject construction beyond backing-storage capacity, including
identity-only strings.
- Reject mixed-width multiplication and column insertion/replacement.
- Enforce logical qubit bounds in column toggles, Clifford gates, and
symplectic mutations.
- Reject identical qubits in two-qubit Clifford gates before mutation.
- Removed Clone for PauliStorage1 parent 99ca34f commit 61da210
12 files changed
Lines changed: 2075 additions & 0 deletions
File tree
- crates/ppvm-pauli-word-2
- src
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments