pennylane-qrack 0.10.2__tar.gz → 0.10.4__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 (29) hide show
  1. {pennylane_qrack-0.10.2/pennylane_qrack.egg-info → pennylane_qrack-0.10.4}/PKG-INFO +1 -1
  2. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/_version.py +1 -1
  3. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/qrack_device.py +3 -1
  4. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4/pennylane_qrack.egg-info}/PKG-INFO +1 -1
  5. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/CHANGELOG.md +0 -0
  6. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/CMakeLists.txt +0 -0
  7. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/LICENSE +0 -0
  8. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/MANIFEST.in +0 -0
  9. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/Makefile +0 -0
  10. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/README.rst +0 -0
  11. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/DataView.hpp +0 -0
  12. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/Exception.hpp +0 -0
  13. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/QuantumDevice.hpp +0 -0
  14. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/RuntimeCAPI.h +0 -0
  15. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/Types.h +0 -0
  16. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/QrackDeviceConfig.toml +0 -0
  17. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/__init__.py +0 -0
  18. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/qrack_device.cpp +0 -0
  19. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/SOURCES.txt +0 -0
  20. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/dependency_links.txt +0 -0
  21. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/entry_points.txt +0 -0
  22. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/requires.txt +0 -0
  23. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/top_level.txt +0 -0
  24. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/requirements.txt +0 -0
  25. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/setup.cfg +0 -0
  26. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/setup.py +0 -0
  27. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/tests/test_apply.py +0 -0
  28. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/tests/test_integration.py +0 -0
  29. {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/tests/test_units.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pennylane-qrack
3
- Version: 0.10.2
3
+ Version: 0.10.4
4
4
  Summary: PennyLane plugin for Qrack.
5
5
  Home-page: http://github.com/vm6502q
6
6
  Maintainer: vm6502q
@@ -16,4 +16,4 @@
16
16
  Version number (major.minor.patch[-label])
17
17
  """
18
18
 
19
- __version__ = "0.10.2"
19
+ __version__ = "0.10.4"
@@ -24,7 +24,8 @@ import itertools as it
24
24
 
25
25
  import numpy as np
26
26
 
27
- from pennylane import QubitDevice, DeviceError, QuantumFunctionError
27
+ from pennylane import DeviceError, QuantumFunctionError
28
+ from pennylane.devices import QubitDevice
28
29
  from pennylane.ops import (
29
30
  QubitStateVector,
30
31
  BasisState,
@@ -192,6 +193,7 @@ class QrackDevice(QubitDevice):
192
193
  if (self.noise != 0) and (shots is None):
193
194
  raise ValueError("Shots must be finite for noisy simulation (not analytical mode).")
194
195
  super().__init__(wires=wires, shots=shots)
196
+ self.shots = shots
195
197
  self._state = QrackSimulator(
196
198
  self.num_wires,
197
199
  isStabilizerHybrid=self.isStabilizerHybrid,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pennylane-qrack
3
- Version: 0.10.2
3
+ Version: 0.10.4
4
4
  Summary: PennyLane plugin for Qrack.
5
5
  Home-page: http://github.com/vm6502q
6
6
  Maintainer: vm6502q