Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

274 building xppauli classes (part of 257) #281

Merged
30 commits merged into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d7fd9ae
added xp_pauli class
dhruvbhq Oct 28, 2022
023960d
added functions for random xp, precision rescaling, unique vector
dhruvbhq Oct 28, 2022
0d33c16
added test_xp_pauli and simple test
dhruvbhq Oct 28, 2022
ec28c91
added weight / XPDistance function
dhruvbhq Oct 28, 2022
84c1af5
added XPisDiag function as is_diagonal
dhruvbhq Oct 28, 2022
b6b488e
coded XPD (antisymmetric operator) and refactored
dhruvbhq Oct 29, 2022
94b3df2
added XPPower
dhruvbhq Oct 29, 2022
6d69c3c
added XP multiplication
dhruvbhq Oct 29, 2022
fe338eb
added XP degree function
dhruvbhq Oct 30, 2022
5ff09b3
added dummy XPPauliList
dhruvbhq Oct 30, 2022
13e5c27
added test for XPPauliList init, and function in xp_pauli_rep
dhruvbhq Oct 30, 2022
f54823e
added some tests for XPPauliList and upgraded some functions to work …
dhruvbhq Oct 30, 2022
7406ed7
cleaned lint and black
dhruvbhq Oct 31, 2022
0edab64
renamed _num_paulis to _num_xppaulis
dhruvbhq Nov 7, 2022
7e96d56
added missing truncate variable
dhruvbhq Nov 7, 2022
6373097
resolved weight todo
dhruvbhq Nov 7, 2022
84caaae
revert precision from list to integer in BaseXPPauli
dhruvbhq Nov 7, 2022
588585b
added type hints
dhruvbhq Nov 7, 2022
857216b
removed array as allowed precision from assertion and updated tests
dhruvbhq Nov 7, 2022
b5d41ea
acknowledged XPF paper on top of BaseXPPauli... files
dhruvbhq Nov 10, 2022
ab4ccc2
added acknowledgement note in individual methods of BaseXPPauli...
dhruvbhq Nov 10, 2022
b94bd1a
added see also in BaseXPPauli... methods
dhruvbhq Nov 10, 2022
966f532
changed assertion to if...raise and moved check to higher level method
dhruvbhq Nov 10, 2022
603aac0
changed assertion to if...raise
dhruvbhq Nov 10, 2022
dbabc4c
added docstrings for BaseXPPauli... methods
dhruvbhq Nov 10, 2022
0ecc284
XPF: 1. added examples in docstring 2. updated 1 method to work for x…
dhruvbhq Nov 13, 2022
b06e4e6
added example and minor change for random_xppauli
dhruvbhq Nov 13, 2022
25ac923
added check in rescale_precision
dhruvbhq Nov 13, 2022
fd8977f
added remaining tests for XPPauliList for currently coded functions
dhruvbhq Nov 13, 2022
8827962
cleaned black and lint
dhruvbhq Nov 13, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions qiskit_qec/operators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@
from .pauli import Pauli
from .pauli_list import PauliList
from .base_xp_pauli import BaseXPPauli
from .xp_pauli import XPPauli
from .xp_pauli_list import XPPauliList
Loading