pennylane-qrack 0.11.6__py3-none-macosx_15_0_arm64.whl → 0.12.0__py3-none-macosx_15_0_arm64.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/CMakeCache.txt +1 -1
- pennylane_qrack/_version.py +1 -1
- pennylane_qrack/qrack_device.py +1 -4
- {pennylane_qrack-0.11.6.dist-info → pennylane_qrack-0.12.0.dist-info}/METADATA +3 -1
- {pennylane_qrack-0.11.6.dist-info → pennylane_qrack-0.12.0.dist-info}/RECORD +9 -9
- {pennylane_qrack-0.11.6.dist-info → pennylane_qrack-0.12.0.dist-info}/LICENSE +0 -0
- {pennylane_qrack-0.11.6.dist-info → pennylane_qrack-0.12.0.dist-info}/WHEEL +0 -0
- {pennylane_qrack-0.11.6.dist-info → pennylane_qrack-0.12.0.dist-info}/entry_points.txt +0 -0
- {pennylane_qrack-0.11.6.dist-info → pennylane_qrack-0.12.0.dist-info}/top_level.txt +0 -0
pennylane_qrack/CMakeCache.txt
CHANGED
|
@@ -247,7 +247,7 @@ CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
|
|
|
247
247
|
//Minor version of cmake used to create the current loaded cache
|
|
248
248
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=31
|
|
249
249
|
//Patch version of cmake used to create the current loaded cache
|
|
250
|
-
CMAKE_CACHE_PATCH_VERSION:INTERNAL=
|
|
250
|
+
CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
|
|
251
251
|
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
|
|
252
252
|
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
|
|
253
253
|
//Path to CMake executable.
|
pennylane_qrack/_version.py
CHANGED
pennylane_qrack/qrack_device.py
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"""
|
|
15
15
|
Base device class for PennyLane-Qrack.
|
|
16
16
|
"""
|
|
17
|
-
from collections import OrderedDict
|
|
18
17
|
from functools import reduce
|
|
19
18
|
import cmath, math
|
|
20
19
|
import os
|
|
@@ -30,8 +29,6 @@ from pennylane.ops import (
|
|
|
30
29
|
StatePrep,
|
|
31
30
|
BasisState,
|
|
32
31
|
QubitUnitary,
|
|
33
|
-
CRZ,
|
|
34
|
-
PhaseShift,
|
|
35
32
|
Adjoint,
|
|
36
33
|
)
|
|
37
34
|
from pennylane.wires import Wires
|
|
@@ -162,7 +159,7 @@ class QrackDevice(QubitDevice):
|
|
|
162
159
|
# Use CPU/GPU method hybridization? (Default is "false")
|
|
163
160
|
isCpuGpuHybrid = True
|
|
164
161
|
# 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)
|
|
165
|
-
isHostPointer = False
|
|
162
|
+
isHostPointer = True if os.environ.get('PYQRACK_HOST_POINTER_DEFAULT_ON') else False
|
|
166
163
|
# Noise parameter. (Default is "0"; depolarizing noise intensity can also be controlled by "QRACK_GATE_DEPOLARIZATION" environment variable)
|
|
167
164
|
noise = 0
|
|
168
165
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pennylane-qrack
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.12.0
|
|
4
4
|
Summary: PennyLane plugin for Qrack.
|
|
5
5
|
Home-page: http://github.com/vm6502q
|
|
6
6
|
Maintainer: vm6502q
|
|
@@ -37,6 +37,8 @@ PennyLane-Qrack Plugin
|
|
|
37
37
|
|
|
38
38
|
The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane's quantum machine learning capabilities.
|
|
39
39
|
|
|
40
|
+
**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)**
|
|
41
|
+
|
|
40
42
|
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!
|
|
41
43
|
|
|
42
44
|
`PennyLane <https://pennylane.readthedocs.io>`__ is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
pennylane_qrack/CMakeCache.txt,sha256
|
|
1
|
+
pennylane_qrack/CMakeCache.txt,sha256=CQyZlFr5x8XKUGYhZnvL72RLKiIN29OF9u7mjeEXFRI,15959
|
|
2
2
|
pennylane_qrack/Makefile,sha256=jASrk2mN10ROAVkuiKQiRyL0sQMlaSwIrqw4XInDf4w,7619
|
|
3
3
|
pennylane_qrack/QrackDeviceConfig.toml,sha256=qIamMrYN8kqkhoAuYrgmvmaUi3JXdjXLlhjMrpxIZK8,6379
|
|
4
4
|
pennylane_qrack/__init__.py,sha256=_g4NKu07_pXqxvQaxjdAPe769S5tWwYjqyHi3z7YKHc,673
|
|
5
|
-
pennylane_qrack/_version.py,sha256=
|
|
5
|
+
pennylane_qrack/_version.py,sha256=OQteXXmU-5wvksxt2kkGzOGpoLRSiX1XYGuHSTJFINk,692
|
|
6
6
|
pennylane_qrack/cmake_install.cmake,sha256=uwCdcDnmr0FnVfJBX6v3LLwjCl4T9EE79Tkeg0SlrTI,3270
|
|
7
7
|
pennylane_qrack/libqrack_device.dylib,sha256=o0MxQ2P3xgP38plb6IqdhZyQr6K6DlCOiGmGHzClkBA,3181144
|
|
8
8
|
pennylane_qrack/qrack_device.cpp,sha256=KmFmugfYT_q2wt_iSvaHkhD3CzUe5UrlT_OYdNlVEgo,36953
|
|
9
|
-
pennylane_qrack/qrack_device.py,sha256=
|
|
10
|
-
pennylane_qrack-0.
|
|
11
|
-
pennylane_qrack-0.
|
|
12
|
-
pennylane_qrack-0.
|
|
13
|
-
pennylane_qrack-0.
|
|
14
|
-
pennylane_qrack-0.
|
|
15
|
-
pennylane_qrack-0.
|
|
9
|
+
pennylane_qrack/qrack_device.py,sha256=nSy3bWwAwW-WO9SElzMev9waQpZMFTuIXMJEbyG04so,27318
|
|
10
|
+
pennylane_qrack-0.12.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
11
|
+
pennylane_qrack-0.12.0.dist-info/METADATA,sha256=1UpPG4YVMkZ9coJvtb4arCjJJ_jGAVKYOibgKHYIdSU,5719
|
|
12
|
+
pennylane_qrack-0.12.0.dist-info/WHEEL,sha256=ip8oVirf8ZzjhO8E5_X8ymzZjjMZ0FQ_Gm2472UfBGE,105
|
|
13
|
+
pennylane_qrack-0.12.0.dist-info/entry_points.txt,sha256=V6f1sN6IZZZaEvxrI47A3K_kksp8fDUWjLWD0Met7Ww,79
|
|
14
|
+
pennylane_qrack-0.12.0.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
|
|
15
|
+
pennylane_qrack-0.12.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|