pennylane-qrack 0.8.0__tar.gz → 0.8.2__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 (24) hide show
  1. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/Makefile +1 -1
  2. {pennylane_qrack-0.8.0/pennylane_qrack.egg-info → pennylane_qrack-0.8.2}/PKG-INFO +1 -1
  3. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack/_version.py +1 -1
  4. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack/qrack_device.cpp +4 -1
  5. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2/pennylane_qrack.egg-info}/PKG-INFO +1 -1
  6. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/CHANGELOG.md +0 -0
  7. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/CMakeLists.txt +0 -0
  8. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/LICENSE +0 -0
  9. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/MANIFEST.in +0 -0
  10. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/README.rst +0 -0
  11. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack/QrackDeviceConfig.toml +0 -0
  12. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack/__init__.py +0 -0
  13. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack/qrack_device.py +0 -0
  14. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack.egg-info/SOURCES.txt +0 -0
  15. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack.egg-info/dependency_links.txt +0 -0
  16. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack.egg-info/entry_points.txt +0 -0
  17. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack.egg-info/requires.txt +0 -0
  18. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/pennylane_qrack.egg-info/top_level.txt +0 -0
  19. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/requirements.txt +0 -0
  20. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/setup.cfg +0 -0
  21. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/setup.py +0 -0
  22. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/tests/test_apply.py +0 -0
  23. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/tests/test_integration.py +0 -0
  24. {pennylane_qrack-0.8.0 → pennylane_qrack-0.8.2}/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 69dc1fe989295c79a2da7c17a0bb95488b9e4c78; cd ..
27
+ git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout 7ef2bd24ab2290a993099d2514defef32e9ac0df; 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.8.0
3
+ Version: 0.8.2
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.8.0"
19
+ __version__ = "0.8.2"
@@ -425,6 +425,9 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
425
425
  if (kwargs.find("<Wires = []>") != kwargs.find("<Wires = []>,")) {
426
426
  continue;
427
427
  }
428
+ if (kwargs.find("Wires([])") != kwargs.find("Wires([]),")) {
429
+ continue;
430
+ }
428
431
 
429
432
  // Handle if integer
430
433
  pos = kwargs.find(",");
@@ -446,7 +449,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
446
449
  }
447
450
 
448
451
  // Handles if Wires object
449
- pos = kwargs.find("]>");
452
+ pos = kwargs.find("]");
450
453
  std::string value = kwargs.substr(0, pos);
451
454
  kwargs.erase(0, pos + 3U);
452
455
  size_t p = value.find("[");
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pennylane-qrack
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: PennyLane plugin for Qrack.
5
5
  Home-page: http://github.com/vm6502q
6
6
  Maintainer: vm6502q
File without changes