pennylane-qrack 0.8.6__py3-none-win_amd64.whl → 0.8.8__py3-none-win_amd64.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.

@@ -16,4 +16,4 @@
16
16
  Version number (major.minor.patch[-label])
17
17
  """
18
18
 
19
- __version__ = "0.8.6"
19
+ __version__ = "0.8.8"
@@ -543,7 +543,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
543
543
  void PrintState() override
544
544
  {
545
545
  const size_t numQubits = qsim->GetQubitCount();
546
- const size_t maxQPower = (size_t)((BIG_INTEGER_WORD)qsim->GetMaxQPower());
546
+ const size_t maxQPower = (size_t)((uint64_t)qsim->GetMaxQPower());
547
547
  const size_t maxLcv = maxQPower - 1U;
548
548
  size_t idx = 0U;
549
549
  std::cout << "*** State-Vector of Size " << maxQPower << " ***" << std::endl;
@@ -642,7 +642,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
642
642
  }
643
643
  void State(DataView<std::complex<double>, 1>& sv) override
644
644
  {
645
- RT_FAIL_IF(sv.size() != (size_t)((BIG_INTEGER_WORD)qsim->GetMaxQPower()), "Invalid size for the pre-allocated state vector");
645
+ RT_FAIL_IF(sv.size() != (size_t)((uint64_t)qsim->GetMaxQPower()), "Invalid size for the pre-allocated state vector");
646
646
  reverseWires();
647
647
  #if FPPOW == 6
648
648
  qsim->GetQuantumState(&(*(sv.begin())));
@@ -655,7 +655,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
655
655
  }
656
656
  void Probs(DataView<double, 1>& p) override
657
657
  {
658
- RT_FAIL_IF(p.size() != (size_t)((BIG_INTEGER_WORD)qsim->GetMaxQPower()), "Invalid size for the pre-allocated probabilities vector");
658
+ RT_FAIL_IF(p.size() != (size_t)((uint64_t)qsim->GetMaxQPower()), "Invalid size for the pre-allocated probabilities vector");
659
659
  reverseWires();
660
660
  #if FPPOW == 6
661
661
  qsim->GetProbs(&(*(p.begin())));
@@ -668,7 +668,7 @@ struct QrackDevice final : public Catalyst::Runtime::QuantumDevice {
668
668
  }
669
669
  void PartialProbs(DataView<double, 1> &p, const std::vector<QubitIdType> &wires) override
670
670
  {
671
- RT_FAIL_IF((size_t)((BIG_INTEGER_WORD)Qrack::pow2(wires.size())) != p.size(), "Invalid size for the pre-allocated probabilities vector");
671
+ RT_FAIL_IF((size_t)((uint64_t)Qrack::pow2(wires.size())) != p.size(), "Invalid size for the pre-allocated probabilities vector");
672
672
  auto &&dev_wires = getDeviceWires(wires);
673
673
  std::reverse(dev_wires.begin(), dev_wires.end());
674
674
  #if FPPOW == 6
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pennylane-qrack
3
- Version: 0.8.6
3
+ Version: 0.8.8
4
4
  Summary: PennyLane plugin for Qrack.
5
5
  Home-page: http://github.com/vm6502q
6
6
  Maintainer: vm6502q
@@ -0,0 +1,11 @@
1
+ pennylane_qrack/QrackDeviceConfig.toml,sha256=F7u3h-coiXe0bm978GbU2uCiOaGMVdUOgGETZO4X1Vg,6383
2
+ pennylane_qrack/__init__.py,sha256=5iuZ5OqhRPLxj5cs9jGaUTDv55iPXRVbcDHM6FNk-5c,689
3
+ pennylane_qrack/_version.py,sha256=40M7QpcZ5riqfKt_BY1PMTwBvMdJa4Pkq4BANfj1Dek,710
4
+ pennylane_qrack/qrack_device.cpp,sha256=zJpVmKRSn98tJfTLhF_hCclh-7LbYd_Y5HN09G4nrKo,36753
5
+ pennylane_qrack/qrack_device.py,sha256=ew_9fcjNRt2qcp1zxR_jgDtAVagia2rGLqFqkn2Huow,24312
6
+ pennylane_qrack-0.8.8.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
7
+ pennylane_qrack-0.8.8.dist-info/METADATA,sha256=0Z1qhT1XCilqdfwLwSZQUl8Nt68UlJtgdb0g5VajU0o,5668
8
+ pennylane_qrack-0.8.8.dist-info/WHEEL,sha256=MKsKTYcJ8UB7nlhmb6_u5qoYj_ULa0PDSKtamp2tTfc,98
9
+ pennylane_qrack-0.8.8.dist-info/entry_points.txt,sha256=V6f1sN6IZZZaEvxrI47A3K_kksp8fDUWjLWD0Met7Ww,79
10
+ pennylane_qrack-0.8.8.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
11
+ pennylane_qrack-0.8.8.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- pennylane_qrack/QrackDeviceConfig.toml,sha256=F7u3h-coiXe0bm978GbU2uCiOaGMVdUOgGETZO4X1Vg,6383
2
- pennylane_qrack/__init__.py,sha256=5iuZ5OqhRPLxj5cs9jGaUTDv55iPXRVbcDHM6FNk-5c,689
3
- pennylane_qrack/_version.py,sha256=wJ-MkGac1_j6a64bN23ALxIWDkmpFJviUcO0GwqfjWg,710
4
- pennylane_qrack/qrack_device.cpp,sha256=RB2MRDf6PCCc9vFahr-DT5D9OhX5y7F07yeXgkZhV70,36785
5
- pennylane_qrack/qrack_device.py,sha256=ew_9fcjNRt2qcp1zxR_jgDtAVagia2rGLqFqkn2Huow,24312
6
- pennylane_qrack-0.8.6.dist-info/LICENSE,sha256=HrhfyXIkWY2tGFK11kg7vPCqhgh5DcxleloqdhrpyMY,11558
7
- pennylane_qrack-0.8.6.dist-info/METADATA,sha256=sr3r3BvihJhe6w7LkDV3hveV5zRRySmJFHfIZGEvmI0,5668
8
- pennylane_qrack-0.8.6.dist-info/WHEEL,sha256=MKsKTYcJ8UB7nlhmb6_u5qoYj_ULa0PDSKtamp2tTfc,98
9
- pennylane_qrack-0.8.6.dist-info/entry_points.txt,sha256=V6f1sN6IZZZaEvxrI47A3K_kksp8fDUWjLWD0Met7Ww,79
10
- pennylane_qrack-0.8.6.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
11
- pennylane_qrack-0.8.6.dist-info/RECORD,,