pennylane-qrack 0.18.7__py3-none-manylinux_2_39_x86_64.whl → 0.19.0__py3-none-manylinux_2_39_x86_64.whl
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.
Potentially problematic release.
This version of pennylane-qrack might be problematic. Click here for more details.
- pennylane_qrack/_version.py +2 -2
- pennylane_qrack/libqrack_device.so +0 -0
- pennylane_qrack/qrack_device.py +10 -2
- {pennylane_qrack-0.18.7.dist-info → pennylane_qrack-0.19.0.dist-info}/METADATA +2 -2
- pennylane_qrack-0.19.0.dist-info/RECORD +15 -0
- {pennylane_qrack-0.18.7.dist-info → pennylane_qrack-0.19.0.dist-info}/WHEEL +1 -1
- pennylane_qrack-0.18.7.dist-info/RECORD +0 -15
- {pennylane_qrack-0.18.7.dist-info → pennylane_qrack-0.19.0.dist-info}/entry_points.txt +0 -0
- {pennylane_qrack-0.18.7.dist-info → pennylane_qrack-0.19.0.dist-info}/licenses/LICENSE +0 -0
- {pennylane_qrack-0.18.7.dist-info → pennylane_qrack-0.19.0.dist-info}/top_level.txt +0 -0
pennylane_qrack/_version.py
CHANGED
|
Binary file
|
pennylane_qrack/qrack_device.py
CHANGED
|
@@ -23,7 +23,15 @@ import itertools as it
|
|
|
23
23
|
|
|
24
24
|
import numpy as np
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
# PennyLane v0.42 introduced the `exceptions` module and will raise
|
|
27
|
+
# deprecation warnings if they are imported from the top-level module.
|
|
28
|
+
|
|
29
|
+
# This ensures backwards compatibility with older versions of PennyLane.
|
|
30
|
+
try:
|
|
31
|
+
from pennylane.exceptions import DeviceError, QuantumFunctionError
|
|
32
|
+
except (ModuleNotFoundError, ImportError) as import_error:
|
|
33
|
+
from pennylane import DeviceError, QuantumFunctionError
|
|
34
|
+
|
|
27
35
|
from pennylane.devices import QubitDevice
|
|
28
36
|
from pennylane.ops import (
|
|
29
37
|
StatePrep,
|
|
@@ -159,7 +167,7 @@ class QrackDevice(QubitDevice):
|
|
|
159
167
|
# Use CPU/GPU method hybridization? (Default is "false")
|
|
160
168
|
isCpuGpuHybrid = True
|
|
161
169
|
# Allocate GPU buffer from general host heap? (Default is "false"; "true" might improve performance or reliability in certain cases, like if using an Intel HD as accelerator)
|
|
162
|
-
isHostPointer = True if os.environ.get(
|
|
170
|
+
isHostPointer = True if os.environ.get("PYQRACK_HOST_POINTER_DEFAULT_ON") else False
|
|
163
171
|
# Noise parameter. (Default is "0"; depolarizing noise intensity can also be controlled by "QRACK_GATE_DEPOLARIZATION" environment variable)
|
|
164
172
|
noise = 0
|
|
165
173
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pennylane-qrack
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.19.0
|
|
4
4
|
Summary: PennyLane plugin for Qrack.
|
|
5
5
|
Home-page: http://github.com/vm6502q
|
|
6
6
|
Maintainer: vm6502q
|
|
@@ -48,7 +48,7 @@ PennyLane-Qrack Plugin
|
|
|
48
48
|
|
|
49
49
|
The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane's quantum machine learning capabilities.
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Performance can benefit greatly from following the `Qrack repository "Quick Start" and "Power user considerations." <https://github.com/unitaryfund/qrack/blob/main/README.md#quick-start>`__
|
|
52
52
|
|
|
53
53
|
This plugin is addapted from the `PennyLane-Qulacs plugin, <https://github.com/PennyLaneAI/pennylane-qulacs>`__ under the Apache License 2.0, with many thanks to the original developers!
|
|
54
54
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
pennylane_qrack/CMakeCache.txt,sha256=3v-xGxs5bLtfkdPBdAMG0jFuElEhuklvh6fwcSSRFY0,15177
|
|
2
|
+
pennylane_qrack/Makefile,sha256=Od_33AWv8Jgk8ZWvL7lklT2Awce38c1lIgMyys5-RuE,7584
|
|
3
|
+
pennylane_qrack/QrackDeviceConfig.toml,sha256=oR9-dIAP6BzP3e2QSLroacaloHZsx7iJiKE6w7LGxUo,5459
|
|
4
|
+
pennylane_qrack/__init__.py,sha256=_g4NKu07_pXqxvQaxjdAPe769S5tWwYjqyHi3z7YKHc,673
|
|
5
|
+
pennylane_qrack/_version.py,sha256=V4LXQ3QudBmGor6HirVNo2u3WPKKh93HvCCRv3KvVVw,689
|
|
6
|
+
pennylane_qrack/cmake_install.cmake,sha256=jP3YWPs_F3JYlifubQTLq95RWHkadWyv_BNvMw3MzhU,3521
|
|
7
|
+
pennylane_qrack/libqrack_device.so,sha256=kr9hC9xAiEIFfT0CSxk1991zbhA4UiGwW-kmYNxTeKs,5642304
|
|
8
|
+
pennylane_qrack/qrack_device.cpp,sha256=0Dbey1g3DQeWYrzS9622Y7QDhizISuII49XLuv9xFIY,38115
|
|
9
|
+
pennylane_qrack/qrack_device.py,sha256=kefy76z8z9EQ6Z4gkNUxZXzOXNaQKUBetKPUO2RGsig,28236
|
|
10
|
+
pennylane_qrack-0.19.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
11
|
+
pennylane_qrack-0.19.0.dist-info/METADATA,sha256=ptcIeR9zt-J8hsBU8NqadLiZUOYmKbB9ydo22FGN5EQ,5955
|
|
12
|
+
pennylane_qrack-0.19.0.dist-info/WHEEL,sha256=k8EuOMBHdXsN9XSTE5LrpwS4FtdLkoSlyO_7W-lE_zg,109
|
|
13
|
+
pennylane_qrack-0.19.0.dist-info/entry_points.txt,sha256=V6f1sN6IZZZaEvxrI47A3K_kksp8fDUWjLWD0Met7Ww,79
|
|
14
|
+
pennylane_qrack-0.19.0.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
|
|
15
|
+
pennylane_qrack-0.19.0.dist-info/RECORD,,
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
pennylane_qrack/CMakeCache.txt,sha256=3v-xGxs5bLtfkdPBdAMG0jFuElEhuklvh6fwcSSRFY0,15177
|
|
2
|
-
pennylane_qrack/Makefile,sha256=Od_33AWv8Jgk8ZWvL7lklT2Awce38c1lIgMyys5-RuE,7584
|
|
3
|
-
pennylane_qrack/QrackDeviceConfig.toml,sha256=oR9-dIAP6BzP3e2QSLroacaloHZsx7iJiKE6w7LGxUo,5459
|
|
4
|
-
pennylane_qrack/__init__.py,sha256=_g4NKu07_pXqxvQaxjdAPe769S5tWwYjqyHi3z7YKHc,673
|
|
5
|
-
pennylane_qrack/_version.py,sha256=CeLRk7uEI9sUMyo17P8JqCvF5uE9JtUfBKTaD5ueYP0,692
|
|
6
|
-
pennylane_qrack/cmake_install.cmake,sha256=jP3YWPs_F3JYlifubQTLq95RWHkadWyv_BNvMw3MzhU,3521
|
|
7
|
-
pennylane_qrack/libqrack_device.so,sha256=ypAo7rQWMIuOwRyPCZeHEZu9r8b391Q2McxHPqNMVqE,5646504
|
|
8
|
-
pennylane_qrack/qrack_device.cpp,sha256=0Dbey1g3DQeWYrzS9622Y7QDhizISuII49XLuv9xFIY,38115
|
|
9
|
-
pennylane_qrack/qrack_device.py,sha256=DEiYy1eJQumWRIiNgxRWqc4YOYS1f85O2Jio7lWPuV8,27883
|
|
10
|
-
pennylane_qrack-0.18.7.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
11
|
-
pennylane_qrack-0.18.7.dist-info/METADATA,sha256=ndCWhonCXvPdUh6xpra6WvqpZxTvKlwWSVylw3BruCc,5956
|
|
12
|
-
pennylane_qrack-0.18.7.dist-info/WHEEL,sha256=g7_LICffffjPhI1CCJLD98zC0tVFxpB8H2tcQ-OnOG8,109
|
|
13
|
-
pennylane_qrack-0.18.7.dist-info/entry_points.txt,sha256=V6f1sN6IZZZaEvxrI47A3K_kksp8fDUWjLWD0Met7Ww,79
|
|
14
|
-
pennylane_qrack-0.18.7.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
|
|
15
|
-
pennylane_qrack-0.18.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|