qctrl-commons 26.2.0__tar.gz → 26.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/PKG-INFO +1 -1
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/pyproject.toml +1 -1
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/__init__.py +1 -1
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/data_types.py +5 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/LICENSE +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/README.md +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/constants.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/core_exceptions.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/exceptions.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/graph.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/montecarlo.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/node/__init__.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/node/base.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/node/wrapper.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/pauli_operations.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/preconditions.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/pytest_plugin.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/run_options.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/serializers.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/simulation_types.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/sparse_occ_op.py +0 -0
- {qctrl_commons-26.2.0 → qctrl_commons-26.3.0}/qctrlcommons/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: qctrl-commons
|
|
3
|
-
Version: 26.
|
|
3
|
+
Version: 26.3.0
|
|
4
4
|
Summary: Q-CTRL Commons
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Keywords: black opal,boulder opal,fire opal,nisq,open controls,q control,q ctrl,q-control,q-ctrl,qcontrol,qctrl,quantum,quantum algorithms,quantum circuits,quantum coding,quantum coding software,quantum computing,quantum control,quantum control software,quantum control theory,quantum engineering,quantum error correction,quantum firmware,quantum fundamentals,quantum sensing,qubit,qudit
|
|
@@ -647,3 +647,8 @@ class SparseOccupationOperatorsDataType(DataclassType):
|
|
|
647
647
|
|
|
648
648
|
_type = SparseOccupationOperators
|
|
649
649
|
object_key = "fire_opal_sparse_occ_op"
|
|
650
|
+
|
|
651
|
+
def decode(self, obj):
|
|
652
|
+
obj.pop(self.object_key)
|
|
653
|
+
# JSON turns the (spin, site) tuples into lists, which `from_dict` restores.
|
|
654
|
+
return SparseOccupationOperators.from_dict(obj)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|