diff --git a/ionizer/identity_hunter.py b/ionizer/identity_hunter.py index 1684c11..ca4d4d2 100644 --- a/ionizer/identity_hunter.py +++ b/ionizer/identity_hunter.py @@ -2,6 +2,7 @@ Submodule to generate and store a database of circuit identities involving up to 3 GPI/GPI2 gates. """ + from importlib.resources import files from itertools import product diff --git a/ionizer/ops.py b/ionizer/ops.py index 8429afe..24a1eab 100644 --- a/ionizer/ops.py +++ b/ionizer/ops.py @@ -39,6 +39,7 @@ class GPI(Operation): immediately pushed into the Operator queue (optional) id (str or None): String representing the operation (optional) """ + num_wires = 1 num_params = 1 ndim_params = (0,) @@ -138,6 +139,7 @@ class MS(Operation): immediately pushed into the Operator queue (optional) id (str or None): String representing the operation (optional) """ + num_wires = 2 num_params = 0