pennylane-qrack 0.18.8__py3-none-macosx_15_0_arm64.whl → 0.19.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.

@@ -217,10 +217,10 @@ CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
217
217
  ENABLE_OPENCL:BOOL=ON
218
218
 
219
219
  //Path to a file.
220
- OpenCL_INCLUDE_DIR:PATH=/Applications/Xcode_16.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework
220
+ OpenCL_INCLUDE_DIR:PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework
221
221
 
222
222
  //Path to a library.
223
- OpenCL_LIBRARY:FILEPATH=/Applications/Xcode_16.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework
223
+ OpenCL_LIBRARY:FILEPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework
224
224
 
225
225
  //Value Computed by CMake
226
226
  qrack_device_BINARY_DIR:STATIC=/Users/runner/work/pennylane-qrack/pennylane-qrack/pennylane_qrack
@@ -378,7 +378,7 @@ CMAKE_UNAME:INTERNAL=/usr/bin/uname
378
378
  //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
379
379
  CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
380
380
  //Details about finding OpenCL
381
- FIND_PACKAGE_MESSAGE_DETAILS_OpenCL:INTERNAL=[/Applications/Xcode_16.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework][/Applications/Xcode_16.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework][v1.2()]
381
+ FIND_PACKAGE_MESSAGE_DETAILS_OpenCL:INTERNAL=[/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework][/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenCL.framework][v1.2()]
382
382
  //Have symbol CL_VERSION_1_2
383
383
  OPENCL_VERSION_1_2:INTERNAL=1
384
384
  //Have symbol CL_VERSION_2_0
@@ -13,7 +13,7 @@
13
13
  # limitations under the License.
14
14
 
15
15
  """Version information.
16
- Version number (major.minor.patch[-label])
16
+ Version number (major.minor.patch[-label])
17
17
  """
18
18
 
19
- __version__ = "0.18.8"
19
+ __version__ = "0.19.0"
Binary file
@@ -23,7 +23,15 @@ import itertools as it
23
23
 
24
24
  import numpy as np
25
25
 
26
- from pennylane import DeviceError, QuantumFunctionError
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('PYQRACK_HOST_POINTER_DEFAULT_ON') else False
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.18.8
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
- **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)**
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=OPPsfGTZxkt8HZwt8r29gUUx6KDKfLZgQJzngUPd464,15091
2
+ pennylane_qrack/Makefile,sha256=HMf2JV8WoMeW-rN8dAbzA3ssXMIzvgCPyJO-NvdJwPw,7618
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=ZhG9tI7bh8oZnfUnP0eAVtodPUizqINLahqbb_TXwxY,3108
7
+ pennylane_qrack/libqrack_device.dylib,sha256=kZD1u0RSuMcv18i35Mx7vSVmSDKSikG-g-KU3YRlWEk,3234456
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=tt4-VHVHv-wywtMZy9Hvv8M6zRlbacCdJyvDZp-_L0E,105
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=KCZEpIGib2svbjWTWpVDAmfJjLnyxYFsrUBfEzqQ5lQ,15275
2
- pennylane_qrack/Makefile,sha256=HMf2JV8WoMeW-rN8dAbzA3ssXMIzvgCPyJO-NvdJwPw,7618
3
- pennylane_qrack/QrackDeviceConfig.toml,sha256=oR9-dIAP6BzP3e2QSLroacaloHZsx7iJiKE6w7LGxUo,5459
4
- pennylane_qrack/__init__.py,sha256=_g4NKu07_pXqxvQaxjdAPe769S5tWwYjqyHi3z7YKHc,673
5
- pennylane_qrack/_version.py,sha256=CUwWqG7uJfyKzx_FpP5E0nFtiqwUh8Xm2K9mXegjgBE,692
6
- pennylane_qrack/cmake_install.cmake,sha256=ZhG9tI7bh8oZnfUnP0eAVtodPUizqINLahqbb_TXwxY,3108
7
- pennylane_qrack/libqrack_device.dylib,sha256=S6vKM0uGG7efEcruTEHMOIJDfSj587KsSx4mYQ9Vof8,3300120
8
- pennylane_qrack/qrack_device.cpp,sha256=0Dbey1g3DQeWYrzS9622Y7QDhizISuII49XLuv9xFIY,38115
9
- pennylane_qrack/qrack_device.py,sha256=DEiYy1eJQumWRIiNgxRWqc4YOYS1f85O2Jio7lWPuV8,27883
10
- pennylane_qrack-0.18.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
11
- pennylane_qrack-0.18.8.dist-info/METADATA,sha256=LaUqtyudUn67o3MWqvNLOfXlsz9F6oKADnZqNj2vO6s,5956
12
- pennylane_qrack-0.18.8.dist-info/WHEEL,sha256=tt4-VHVHv-wywtMZy9Hvv8M6zRlbacCdJyvDZp-_L0E,105
13
- pennylane_qrack-0.18.8.dist-info/entry_points.txt,sha256=V6f1sN6IZZZaEvxrI47A3K_kksp8fDUWjLWD0Met7Ww,79
14
- pennylane_qrack-0.18.8.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
15
- pennylane_qrack-0.18.8.dist-info/RECORD,,