quapp-common 0.0.12.dev9__tar.gz → 0.0.12.dev10__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.
- {quapp_common-0.0.12.dev9/quapp_common.egg-info → quapp_common-0.0.12.dev10}/PKG-INFO +8 -1
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/README.md +7 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/pyproject.toml +1 -1
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/circuit_adapter.py +3 -1
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10/quapp_common.egg-info}/PKG-INFO +8 -1
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/LICENSE +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/async_tasks/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/async_tasks/async_invocation_task.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/async_tasks/async_task.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/async_tasks/export_circuit_task.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/async_tasks/post_processing_task.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/invocation.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/job_fetcher.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/job_fetching.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/job_manager.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/bridge.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/callback/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/callback/update_job_metadata.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/device/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/device/device_selection.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/dispatcher.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/result_serializer.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/config/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/config/logging_config.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/config/thread_config.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/async_task/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/async_task/circuit_export/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/async_task/circuit_export/backend_holder.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/async_task/circuit_export/circuit_holder.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/backend/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/backend/backend_information.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/callback/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/callback/callback_url.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/device/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/device/circuit_running_option.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/promise/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/promise/post_processing_promise.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/promise/promise.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/request/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/request/invocation_request.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/request/job_fetching_request.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/request/request.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/authentication.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/custom_header.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/job_response.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/base_enum.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/http_header.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/invocation_step.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/language.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/media_type.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/processing_unit.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/provider_tag.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/sdk.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/status/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/status/job_status.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/status/status_code.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/token_type.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/factory/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/factory/device_factory.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/factory/handler_factory.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/factory/provider_factory.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/handler/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/handler/handler.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/device/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/device/custom_device.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/device/device.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/invocation.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/provider/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/provider/provider.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/util/__init__.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/util/file_utils.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/util/http_utils.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/util/json_parser_utils.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/util/response_utils.py +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common.egg-info/SOURCES.txt +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common.egg-info/dependency_links.txt +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common.egg-info/requires.txt +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common.egg-info/top_level.txt +0 -0
- {quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quapp-common
|
|
3
|
-
Version: 0.0.12.
|
|
3
|
+
Version: 0.0.12.dev10
|
|
4
4
|
Summary: Quapp common library supporting Quapp Platform for Quantum Computing
|
|
5
5
|
Author-email: "CITYNOW Co. Ltd. " <corp@citynow.vn>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -103,6 +103,13 @@ Notes:
|
|
|
103
103
|
|
|
104
104
|
## Recently Changes Highlights
|
|
105
105
|
|
|
106
|
+
### v0.0.12.dev10
|
|
107
|
+
- Fix: `CircuitAdapter._adapt_openqasm` for `Sdk.BRAKET` now handles the
|
|
108
|
+
breaking API change in `pytket-braket >= 0.35`, where `tk_to_braket` returns
|
|
109
|
+
a `(Circuit, n_shots)` tuple instead of a bare `Circuit` — the method unpacks
|
|
110
|
+
the first element when a tuple is returned and passes through the value
|
|
111
|
+
unchanged for older versions.
|
|
112
|
+
|
|
106
113
|
### v0.0.12.dev9
|
|
107
114
|
- Fix: `QulacsInvocation._get_qubit_amount` now handles OpenQASM string input —
|
|
108
115
|
when a JS job submits an OpenQASM 2.0 string circuit, the method parses the
|
|
@@ -64,6 +64,13 @@ Notes:
|
|
|
64
64
|
|
|
65
65
|
## Recently Changes Highlights
|
|
66
66
|
|
|
67
|
+
### v0.0.12.dev10
|
|
68
|
+
- Fix: `CircuitAdapter._adapt_openqasm` for `Sdk.BRAKET` now handles the
|
|
69
|
+
breaking API change in `pytket-braket >= 0.35`, where `tk_to_braket` returns
|
|
70
|
+
a `(Circuit, n_shots)` tuple instead of a bare `Circuit` — the method unpacks
|
|
71
|
+
the first element when a tuple is returned and passes through the value
|
|
72
|
+
unchanged for older versions.
|
|
73
|
+
|
|
67
74
|
### v0.0.12.dev9
|
|
68
75
|
- Fix: `QulacsInvocation._get_qubit_amount` now handles OpenQASM string input —
|
|
69
76
|
when a JS job submits an OpenQASM 2.0 string circuit, the method parses the
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quapp-common"
|
|
7
|
-
version = "0.0.12.
|
|
7
|
+
version = "0.0.12.dev10"
|
|
8
8
|
description = "Quapp common library supporting Quapp Platform for Quantum Computing"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "CITYNOW Co. Ltd. ", email = "corp@citynow.vn" }]
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/circuit_adapter.py
RENAMED
|
@@ -51,7 +51,9 @@ class CircuitAdapter:
|
|
|
51
51
|
import importlib
|
|
52
52
|
from pytket.qasm import circuit_from_qasm_str
|
|
53
53
|
tk_to_braket = importlib.import_module("pytket.extensions.braket").tk_to_braket
|
|
54
|
-
|
|
54
|
+
result = tk_to_braket(circuit_from_qasm_str(qasm_str))
|
|
55
|
+
# tk_to_braket returns (Circuit, n_shots) in pytket-braket >= 0.35
|
|
56
|
+
return result[0] if isinstance(result, tuple) else result
|
|
55
57
|
|
|
56
58
|
elif sdk == Sdk.PENNYLANE:
|
|
57
59
|
import pennylane as qml
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: quapp-common
|
|
3
|
-
Version: 0.0.12.
|
|
3
|
+
Version: 0.0.12.dev10
|
|
4
4
|
Summary: Quapp common library supporting Quapp Platform for Quantum Computing
|
|
5
5
|
Author-email: "CITYNOW Co. Ltd. " <corp@citynow.vn>
|
|
6
6
|
License: The MIT License (MIT)
|
|
@@ -103,6 +103,13 @@ Notes:
|
|
|
103
103
|
|
|
104
104
|
## Recently Changes Highlights
|
|
105
105
|
|
|
106
|
+
### v0.0.12.dev10
|
|
107
|
+
- Fix: `CircuitAdapter._adapt_openqasm` for `Sdk.BRAKET` now handles the
|
|
108
|
+
breaking API change in `pytket-braket >= 0.35`, where `tk_to_braket` returns
|
|
109
|
+
a `(Circuit, n_shots)` tuple instead of a bare `Circuit` — the method unpacks
|
|
110
|
+
the first element when a tuple is returned and passes through the value
|
|
111
|
+
unchanged for older versions.
|
|
112
|
+
|
|
106
113
|
### v0.0.12.dev9
|
|
107
114
|
- Fix: `QulacsInvocation._get_qubit_amount` now handles OpenQASM string input —
|
|
108
115
|
when a JS job submits an OpenQASM 2.0 string circuit, the method parses the
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/async_tasks/async_task.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/__init__.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/invocation.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/job_fetcher.py
RENAMED
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/backend/job_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/callback/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/device/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/component/result_serializer.py
RENAMED
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/config/logging_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/async_task/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/backend/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/callback/__init__.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/callback/callback_url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/promise/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/request/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/__init__.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/authentication.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/custom_header.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/data/response/job_response.py
RENAMED
|
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
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/status/job_status.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/enum/status/status_code.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/factory/device_factory.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/factory/handler_factory.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/factory/provider_factory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/device/__init__.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/device/custom_device.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/provider/__init__.py
RENAMED
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/model/provider/provider.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common/util/json_parser_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{quapp_common-0.0.12.dev9 → quapp_common-0.0.12.dev10}/quapp_common.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|