-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/clifford-groupkind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt items
Description
Under the ops.clifford_gate, there is a data structure PauliTransform, which is just a named tuple
PauliTransform = NamedTuple('PauliTransform', [('to', Pauli), ('flip', bool)])
document(PauliTransform, """+X, -X, +Y, -Y, +Z, or -Z.""")The reason I suggest deprecation is
- It is only used in
SingleQubitCliffordGate. - For multiple qubits Clifford gate, this named structure doesn't fit.
- We have a replacement now --
DensePauliString. - The stabilizers and destabilizers of Clifford Tableau return as
DensePauliStringanyway.
The benefit of keeping PauliTransform is it is much more light-weighted than DensePauliString. But I think the benefits is marginal.
Metadata
Metadata
Assignees
Labels
area/clifford-groupkind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt items