You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fully take leverage of the compression from this PR, LLOPs should have support for all integral multiples of pi/8
How to Reproduce
If possible, please provide us with the steps that lead to the behavior that you are seeing, and include the snippet of the code that generates the error as well as the error message from python below.
Traceback (most recent call last):
File "/home/varunseshadri/projects/lattice-surgery/lattice-surgery-compiler/debug/debug_non_standard_rotation_composer.py", line 15, in <module>
log_comp = llops.LogicalLatticeComputation(circ)
File "/home/varunseshadri/projects/lattice-surgery/lattice-surgery-compiler/src/lsqecc/logical_lattice_ops/logical_lattice_ops.py", line 100, in __init__
self._load_circuit()
File "/home/varunseshadri/projects/lattice-surgery/lattice-surgery-compiler/src/lsqecc/logical_lattice_ops/logical_lattice_ops.py", line 121, in _load_circuit
reversed(rotations_composer.expand_rotation(current_op))
File "/home/varunseshadri/projects/lattice-surgery/lattice-surgery-compiler/src/lsqecc/logical_lattice_ops/logical_lattice_ops.py", line 170, in expand_rotation
raise Exception(
Exception: Unsupported pauli rotation angle pi*3/8
Environment Context
Please add information about your operating system, python version and dependencies here.
Copy and paste the output of pip freeze or conda list here.
The text was updated successfully, but these errors were encountered:
Issue Description
As suggested in the discussion of PR #269, LLOPs only has support for [
pi/2
,+/- pi/4
,+/- pi/8
]!lattice-surgery-compiler/src/lsqecc/logical_lattice_ops/logical_lattice_ops.py
Lines 159 to 173 in d59f447
To fully take leverage of the compression from this PR, LLOPs should have support for all integral multiples of
pi/8
How to Reproduce
If possible, please provide us with the steps that lead to the behavior that you are seeing, and include the snippet of the code that generates the error as well as the error message from python below.
Code Snippet
Error Output
Environment Context
Please add information about your operating system, python version and dependencies here.
The text was updated successfully, but these errors were encountered: