qctrl-commons 27.0.0__tar.gz → 27.0.1__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.
Files changed (22) hide show
  1. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/PKG-INFO +1 -2
  2. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/pyproject.toml +1 -2
  3. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/__init__.py +1 -1
  4. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/data_types.py +0 -32
  5. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/serializers.py +0 -4
  6. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/LICENSE +0 -0
  7. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/README.md +0 -0
  8. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/constants.py +0 -0
  9. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/core_exceptions.py +0 -0
  10. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/exceptions.py +0 -0
  11. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/graph.py +0 -0
  12. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/montecarlo.py +0 -0
  13. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/node/__init__.py +0 -0
  14. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/node/base.py +0 -0
  15. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/node/wrapper.py +0 -0
  16. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/pauli_operations.py +0 -0
  17. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/preconditions.py +0 -0
  18. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/pytest_plugin.py +0 -0
  19. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/run_options.py +0 -0
  20. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/simulation_types.py +0 -0
  21. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/sparse_occ_op.py +0 -0
  22. {qctrl_commons-27.0.0 → qctrl_commons-27.0.1}/qctrlcommons/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qctrl-commons
3
- Version: 27.0.0
3
+ Version: 27.0.1
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
@@ -28,7 +28,6 @@ Requires-Dist: graphql-core (>=3.2.12,<3.3.0)
28
28
  Requires-Dist: networkx (>=3.0.0,<4.0.0)
29
29
  Requires-Dist: numpy (>=2.5.3,<3.0.0)
30
30
  Requires-Dist: scipy (>=1.12.0,<2.0.0)
31
- Requires-Dist: sympy (>=1.11.1,<2.0.0)
32
31
  Project-URL: Facebook, https://www.facebook.com/qctrl
33
32
  Project-URL: GitHub, https://github.com/qctrl
34
33
  Project-URL: LinkedIn, https://www.linkedin.com/company/q-ctrl/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "qctrl-commons"
3
- version = "27.0.0"
3
+ version = "27.0.1"
4
4
  description = "Q-CTRL Commons"
5
5
  license-files = ["LICENSE"]
6
6
  requires-python = ">=3.12, <3.15"
@@ -64,7 +64,6 @@ packages = [
64
64
  networkx = ">=3.0.0,<4.0.0"
65
65
  numpy = "^2.5.3"
66
66
  scipy = "^1.12.0"
67
- sympy = "^1.11.1"
68
67
  graphql-core = "~3.2.12"
69
68
 
70
69
  [tool.poetry.group.dev.dependencies]
@@ -13,5 +13,5 @@
13
13
 
14
14
  """qctrlcommons - a collection of common libraries for the Python language"""
15
15
 
16
- __version__ = "27.0.0"
16
+ __version__ = "27.0.1"
17
17
  __author__ = "Q-CTRL <support@q-ctrl.com>"
@@ -26,12 +26,6 @@ from scipy.sparse import (
26
26
  dok_matrix,
27
27
  spmatrix,
28
28
  )
29
- from sympy import (
30
- Expr,
31
- Poly,
32
- parse_expr,
33
- srepr,
34
- )
35
29
 
36
30
  from qctrlcommons.graph import Graph
37
31
  from qctrlcommons.node.base import Node
@@ -505,32 +499,6 @@ class FloatConstant(DataType):
505
499
  return ValueError(f"{obj} is not a valid json float constant")
506
500
 
507
501
 
508
- class SympyExprDataType(DataType):
509
- """Handle sympy `Expr` serialization."""
510
-
511
- _type = Expr
512
- object_key = "sympy_expr"
513
-
514
- def encode(self, obj: Expr) -> dict:
515
- return {self.object_key: True, "expr": srepr(obj)}
516
-
517
- def decode(self, obj: dict) -> Expr:
518
- return parse_expr(obj["expr"])
519
-
520
-
521
- class SympyPolyDataType(DataType):
522
- """Handle sympy `Poly` serialization."""
523
-
524
- _type = Poly
525
- object_key = "sympy_poly"
526
-
527
- def encode(self, obj: Poly) -> dict:
528
- return {self.object_key: True, "poly": srepr(obj)}
529
-
530
- def decode(self, obj: dict) -> Poly:
531
- return parse_expr(obj["poly"])
532
-
533
-
534
502
  class NxGraphDataType(DataType):
535
503
  """Handle networkx `Graph` serialization."""
536
504
 
@@ -42,8 +42,6 @@ from .data_types import (
42
42
  SliceDataType,
43
43
  SparseMatrix,
44
44
  SparseOccupationOperatorsDataType,
45
- SympyExprDataType,
46
- SympyPolyDataType,
47
45
  )
48
46
 
49
47
 
@@ -64,8 +62,6 @@ class DataTypeMixin:
64
62
  SparseMatrix(),
65
63
  FloatConstant(),
66
64
  QuantumObject(),
67
- SympyExprDataType(),
68
- SympyPolyDataType(),
69
65
  NxGraphDataType(),
70
66
  IbmRunOptionsDataType(),
71
67
  RunOptionsDataType(),
File without changes
File without changes