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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
BasePauliclass has been modified in the following manner:PauliRephas been added as a new base class.PauliRephandles the representations and conversions of representations/formats/syntaxes etc. See PauliRep Class_to_label,_to_matrix,_from_array,_phase_from_labelto PauliRep class.np.logical_not(np.sum((x1&other._z)^(z1&other._x),axis=1) % 2)afterx1andz1are 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