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.
- {pennylane_qrack-0.10.2/pennylane_qrack.egg-info → pennylane_qrack-0.10.4}/PKG-INFO +1 -1
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/_version.py +1 -1
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/qrack_device.py +3 -1
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4/pennylane_qrack.egg-info}/PKG-INFO +1 -1
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/CHANGELOG.md +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/CMakeLists.txt +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/LICENSE +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/MANIFEST.in +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/Makefile +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/README.rst +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/DataView.hpp +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/Exception.hpp +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/QuantumDevice.hpp +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/RuntimeCAPI.h +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/Types.h +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/QrackDeviceConfig.toml +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/__init__.py +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack/qrack_device.cpp +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/SOURCES.txt +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/dependency_links.txt +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/entry_points.txt +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/requires.txt +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/top_level.txt +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/requirements.txt +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/setup.cfg +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/setup.py +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/tests/test_apply.py +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/tests/test_integration.py +0 -0
- {pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/tests/test_units.py +0 -0
|
@@ -24,7 +24,8 @@ import itertools as it
|
|
|
24
24
|
|
|
25
25
|
import numpy as np
|
|
26
26
|
|
|
27
|
-
from pennylane import
|
|
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,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/catalyst/runtime/include/QuantumDevice.hpp
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pennylane_qrack-0.10.2 → pennylane_qrack-0.10.4}/pennylane_qrack.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|