pennylane-qrack 0.11.6__tar.gz → 0.12.0__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.

Potentially problematic release.


This version of pennylane-qrack might be problematic. Click here for more details.

Files changed (30) hide show
  1. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/Makefile +1 -1
  2. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/PKG-INFO +3 -1
  3. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/README.rst +2 -0
  4. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack/_version.py +1 -1
  5. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack/qrack_device.py +1 -4
  6. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack.egg-info/PKG-INFO +3 -1
  7. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/CHANGELOG.md +0 -0
  8. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/CMakeLists.txt +0 -0
  9. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/LICENSE +0 -0
  10. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/MANIFEST.in +0 -0
  11. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/catalyst/runtime/include/DataView.hpp +0 -0
  12. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/catalyst/runtime/include/DynamicLibraryLoader.hpp +0 -0
  13. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/catalyst/runtime/include/Exception.hpp +0 -0
  14. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/catalyst/runtime/include/QuantumDevice.hpp +0 -0
  15. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/catalyst/runtime/include/RuntimeCAPI.h +0 -0
  16. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/catalyst/runtime/include/Types.h +0 -0
  17. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack/QrackDeviceConfig.toml +0 -0
  18. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack/__init__.py +0 -0
  19. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack/qrack_device.cpp +0 -0
  20. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack.egg-info/SOURCES.txt +0 -0
  21. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack.egg-info/dependency_links.txt +0 -0
  22. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack.egg-info/entry_points.txt +0 -0
  23. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack.egg-info/requires.txt +0 -0
  24. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/pennylane_qrack.egg-info/top_level.txt +0 -0
  25. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/requirements.txt +0 -0
  26. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/setup.cfg +0 -0
  27. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/setup.py +0 -0
  28. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/tests/test_apply.py +0 -0
  29. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/tests/test_integration.py +0 -0
  30. {pennylane_qrack-0.11.6 → pennylane_qrack-0.12.0}/tests/test_units.py +0 -0
@@ -24,7 +24,7 @@ help:
24
24
  build-deps:
25
25
  ifneq ($(OS),Windows_NT)
26
26
  ifeq ($(QRACK_PRESENT),)
27
- git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout 82e68a058a2fe471b3f89102a6a3e5f486387242; cd ..
27
+ git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout d906dffdf033441e221573f989c3760bc325ca03; cd ..
28
28
  endif
29
29
  mkdir -p qrack/build
30
30
  ifeq ($(UNAME_S),Linux)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pennylane-qrack
3
- Version: 0.11.6
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.
@@ -5,6 +5,8 @@ PennyLane-Qrack Plugin
5
5
 
6
6
  The PennyLane-Qrack plugin integrates the Qrack quantum computing framework with PennyLane's quantum machine learning capabilities.
7
7
 
8
+ **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)**
9
+
8
10
  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!
9
11
 
10
12
  `PennyLane <https://pennylane.readthedocs.io>`__ is a cross-platform Python library for quantum machine learning, automatic differentiation, and optimization of hybrid quantum-classical computations.
@@ -16,4 +16,4 @@
16
16
  Version number (major.minor.patch[-label])
17
17
  """
18
18
 
19
- __version__ = "0.11.6"
19
+ __version__ = "0.12.0"
@@ -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.11.6
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.