BasePauli Class #64
dsvandet
started this conversation in
Project Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
These notes are related to the BasePauli class from the quantum_info module of qiskit-terra
These notes are in regards to satisfying the following requirement:
TODO: Link to location of the above requirement
TODO: Unit testing
See general discussion on Pauli operators in he PauliList discussion
Location of Code
Currently these changes are staged at dsvandet/qiskit-terra/tree/paulilist_representations.
Current Modifications to BasePauli Class
The
BasePauli
class has been modified in the following manner:PauliRep
has been added as a new base class.PauliRep
handles the representations and conversions of representations/formats/syntaxes etc. See PauliRep Class_to_label
,_to_matrix
,_from_array
,_phase_from_label
to PauliRep class.np.logical_not(np.sum((x1&other._z)^(z1&other._x),axis=1) % 2)
afterx1
andz1
are set. Since is is a direct description of the symplectic product it is still readable and faster at the same time.Beta Was this translation helpful? Give feedback.
All reactions