Refactoring remove_y_operators_from_circuit
#184
Labels
enhancement
New feature or request
refactor
Restructuring the codebase
testing
All things test-related
remove_y_operators_from_circuit
is a critical component for our compiler. Right now it contains too many moving parts which makes it hard for us to write tests.It also uses the
pop
mechanism that we previously decided against. It was meant to move the newly generated pi/4 rotation on the RHS towards the end of the circuitso we don't have to run:apply_transformation
againlattice-surgery-compiler/src/lsqecc/pauli_rotations/circuit.py
Lines 174 to 180 in 942c5c4
So I am planning to:
pop
logic.This is opened for discussion. LMK if I am missing anything here.
The text was updated successfully, but these errors were encountered: