quapp-pennylane 0.0.4.dev7__tar.gz → 0.0.4.dev9__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 (34) hide show
  1. {quapp_pennylane-0.0.4.dev7/quapp_pennylane.egg-info → quapp_pennylane-0.0.4.dev9}/PKG-INFO +9 -9
  2. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/README.md +8 -8
  3. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/pyproject.toml +1 -1
  4. quapp_pennylane-0.0.4.dev9/quapp_pennylane/__init__.py +22 -0
  5. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9/quapp_pennylane.egg-info}/PKG-INFO +9 -9
  6. quapp_pennylane-0.0.4.dev7/quapp_pennylane/model/provider/__init__.py +0 -0
  7. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/LICENSE +0 -0
  8. {quapp_pennylane-0.0.4.dev7/quapp_pennylane → quapp_pennylane-0.0.4.dev9/quapp_pennylane/async_tasks}/__init__.py +0 -0
  9. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/async_tasks/pennylane_circuit_export_task.py +0 -0
  10. {quapp_pennylane-0.0.4.dev7/quapp_pennylane/async_tasks → quapp_pennylane-0.0.4.dev9/quapp_pennylane/component}/__init__.py +0 -0
  11. {quapp_pennylane-0.0.4.dev7/quapp_pennylane/component → quapp_pennylane-0.0.4.dev9/quapp_pennylane/component/backend}/__init__.py +0 -0
  12. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/component/backend/pennylane_invocation.py +0 -0
  13. {quapp_pennylane-0.0.4.dev7/quapp_pennylane/component/backend → quapp_pennylane-0.0.4.dev9/quapp_pennylane/factory}/__init__.py +0 -0
  14. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/factory/pennylane_device_factory.py +0 -0
  15. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/factory/pennylane_handler_factory.py +0 -0
  16. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/factory/pennylane_provider_factory.py +0 -0
  17. {quapp_pennylane-0.0.4.dev7/quapp_pennylane/factory → quapp_pennylane-0.0.4.dev9/quapp_pennylane/handler}/__init__.py +0 -0
  18. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/handler/invocation_handler.py +0 -0
  19. {quapp_pennylane-0.0.4.dev7/quapp_pennylane/handler → quapp_pennylane-0.0.4.dev9/quapp_pennylane/model}/__init__.py +0 -0
  20. {quapp_pennylane-0.0.4.dev7/quapp_pennylane/model → quapp_pennylane-0.0.4.dev9/quapp_pennylane/model/device}/__init__.py +0 -0
  21. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/device/aws_braket_device.py +0 -0
  22. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/device/ibm_quantum_device.py +0 -0
  23. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/device/pennylane_device.py +0 -0
  24. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/device/qapp_pennylane_device.py +0 -0
  25. {quapp_pennylane-0.0.4.dev7/quapp_pennylane/model/device → quapp_pennylane-0.0.4.dev9/quapp_pennylane/model/provider}/__init__.py +0 -0
  26. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/provider/aws_braket_provider.py +0 -0
  27. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/provider/ibm_cloud_provider.py +0 -0
  28. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/provider/ibm_quantum_provider.py +0 -0
  29. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane/model/provider/qapp_pennylane_provider.py +0 -0
  30. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane.egg-info/SOURCES.txt +0 -0
  31. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane.egg-info/dependency_links.txt +0 -0
  32. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane.egg-info/requires.txt +0 -0
  33. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/quapp_pennylane.egg-info/top_level.txt +0 -0
  34. {quapp_pennylane-0.0.4.dev7 → quapp_pennylane-0.0.4.dev9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quapp-pennylane
3
- Version: 0.0.4.dev7
3
+ Version: 0.0.4.dev9
4
4
  Summary: Quapp pennylane library supporting Quapp Platform for Quantum Computing
5
5
  Author-email: "CITYNOW Co. Ltd. " <corp@citynow.vn>
6
6
  License: The MIT License (MIT)
@@ -69,14 +69,14 @@ pip install quapp-pennylane
69
69
 
70
70
  ## Recently Changes Highlights
71
71
 
72
- - refactor: Update probability measurement handling and histogram generation
73
- logic
74
- - refactor: Add `_transpile_circuit` method with logging improvements
75
- - refactor: Switch to `job_logger` and improve logging consistency in PennyLane
76
- factories
77
- - build: Bump a version to 0.0.4.dev6 and update dependency `quapp-common` to
78
- 0.0.11.dev7
79
- - refactor: Enhance logging and error handling across QAppPennylane components
72
+ - fix: Extend compatibility shims in `quapp_pennylane/__init__.py` for
73
+ `pennylane-rigetti==0.36.0` against PennyLane 0.37–0.42+:
74
+ - `measurements.Expectation` renamed to `ExpectationMP` in PennyLane 0.37+
75
+ - `operation.Tensor` removed in PennyLane 0.40+; aliased to `ops.Prod`
76
+ (its functional replacement for isinstance checks)
77
+ - `pennylane.QubitDevice` moved to `pennylane.devices` in PennyLane ~0.40+;
78
+ re-exported at the top-level namespace
79
+ - build: Bump a version to `0.0.4.dev9`
80
80
 
81
81
  For detailed usage and API references, please refer to the in-code documentation
82
82
  or contact the maintainers.
@@ -34,14 +34,14 @@ pip install quapp-pennylane
34
34
 
35
35
  ## Recently Changes Highlights
36
36
 
37
- - refactor: Update probability measurement handling and histogram generation
38
- logic
39
- - refactor: Add `_transpile_circuit` method with logging improvements
40
- - refactor: Switch to `job_logger` and improve logging consistency in PennyLane
41
- factories
42
- - build: Bump a version to 0.0.4.dev6 and update dependency `quapp-common` to
43
- 0.0.11.dev7
44
- - refactor: Enhance logging and error handling across QAppPennylane components
37
+ - fix: Extend compatibility shims in `quapp_pennylane/__init__.py` for
38
+ `pennylane-rigetti==0.36.0` against PennyLane 0.37–0.42+:
39
+ - `measurements.Expectation` renamed to `ExpectationMP` in PennyLane 0.37+
40
+ - `operation.Tensor` removed in PennyLane 0.40+; aliased to `ops.Prod`
41
+ (its functional replacement for isinstance checks)
42
+ - `pennylane.QubitDevice` moved to `pennylane.devices` in PennyLane ~0.40+;
43
+ re-exported at the top-level namespace
44
+ - build: Bump a version to `0.0.4.dev9`
45
45
 
46
46
  For detailed usage and API references, please refer to the in-code documentation
47
47
  or contact the maintainers.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "quapp-pennylane"
7
- version = "0.0.4.dev7"
7
+ version = "0.0.4.dev9"
8
8
  description = "Quapp pennylane library supporting Quapp Platform for Quantum Computing"
9
9
  readme = "README.md"
10
10
  authors = [{ name = "CITYNOW Co. Ltd. ", email = "corp@citynow.vn" }]
@@ -0,0 +1,22 @@
1
+ import pennylane as _pl
2
+ import pennylane.measurements as _pl_measurements
3
+ import pennylane.operation as _pl_operation
4
+
5
+ # pennylane-rigetti==0.36.0 compatibility shims for PennyLane 0.37+
6
+ #
7
+ # PennyLane 0.37+: measurements.Expectation renamed to ExpectationMP
8
+ if not hasattr(_pl_measurements, 'Expectation'):
9
+ _pl_measurements.Expectation = _pl_measurements.ExpectationMP
10
+
11
+ # PennyLane 0.40+: operation.Tensor removed; replaced by ops.Prod for tensor
12
+ # product observables. Rigetti uses Tensor only in isinstance() checks alongside
13
+ # Prod, so aliasing is correct — no Tensor instances exist in PL 0.40+.
14
+ if not hasattr(_pl_operation, 'Tensor'):
15
+ from pennylane.ops import Prod as _Prod
16
+ _pl_operation.Tensor = _Prod
17
+
18
+ # PennyLane ~0.40+: QubitDevice moved from pennylane top-level to pennylane.devices.
19
+ # Rigetti device.py does: from pennylane import QubitDevice
20
+ if not hasattr(_pl, 'QubitDevice'):
21
+ from pennylane.devices import QubitDevice as _QubitDevice
22
+ _pl.QubitDevice = _QubitDevice
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quapp-pennylane
3
- Version: 0.0.4.dev7
3
+ Version: 0.0.4.dev9
4
4
  Summary: Quapp pennylane library supporting Quapp Platform for Quantum Computing
5
5
  Author-email: "CITYNOW Co. Ltd. " <corp@citynow.vn>
6
6
  License: The MIT License (MIT)
@@ -69,14 +69,14 @@ pip install quapp-pennylane
69
69
 
70
70
  ## Recently Changes Highlights
71
71
 
72
- - refactor: Update probability measurement handling and histogram generation
73
- logic
74
- - refactor: Add `_transpile_circuit` method with logging improvements
75
- - refactor: Switch to `job_logger` and improve logging consistency in PennyLane
76
- factories
77
- - build: Bump a version to 0.0.4.dev6 and update dependency `quapp-common` to
78
- 0.0.11.dev7
79
- - refactor: Enhance logging and error handling across QAppPennylane components
72
+ - fix: Extend compatibility shims in `quapp_pennylane/__init__.py` for
73
+ `pennylane-rigetti==0.36.0` against PennyLane 0.37–0.42+:
74
+ - `measurements.Expectation` renamed to `ExpectationMP` in PennyLane 0.37+
75
+ - `operation.Tensor` removed in PennyLane 0.40+; aliased to `ops.Prod`
76
+ (its functional replacement for isinstance checks)
77
+ - `pennylane.QubitDevice` moved to `pennylane.devices` in PennyLane ~0.40+;
78
+ re-exported at the top-level namespace
79
+ - build: Bump a version to `0.0.4.dev9`
80
80
 
81
81
  For detailed usage and API references, please refer to the in-code documentation
82
82
  or contact the maintainers.