pennylane-qrack 0.20.0__py3-none-manylinux_2_35_x86_64.whl → 0.20.2__py3-none-manylinux_2_35_x86_64.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.

@@ -21,32 +21,23 @@ schema = 3
21
21
  PauliX = { properties = [ "controllable", "invertible" ] }
22
22
  PauliY = { properties = [ "controllable", "invertible" ] }
23
23
  PauliZ = { properties = [ "controllable", "invertible" ] }
24
- SX = { properties = [ "controllable", "invertible" ] }
25
- MultiRZ = { properties = [ "controllable", "invertible" ] }
26
- Hadamard = { properties = [ "controllable", "invertible" ] }
27
- S = { properties = [ "controllable", "invertible" ] }
28
- T = { properties = [ "controllable", "invertible" ] }
29
- CNOT = { properties = [ "controllable", "invertible" ] }
30
- SWAP = { properties = [ "controllable", "invertible" ] }
31
- CSWAP = { properties = [ "controllable", "invertible" ] }
32
- ISWAP = { properties = [ "controllable", "invertible" ] }
33
- PSWAP = { properties = [ "controllable", "invertible" ] }
34
- Toffoli = { properties = [ "controllable", "invertible" ] }
35
- CY = { properties = [ "controllable", "invertible" ] }
36
- CZ = { properties = [ "controllable", "invertible" ] }
37
- PhaseShift = { properties = [ "controllable", "invertible" ] }
38
- ControlledPhaseShift = { properties = [ "controllable", "invertible" ] }
39
- CPhase = { properties = [ "controllable", "invertible" ] }
40
- RX = { properties = [ "controllable", "invertible" ] }
41
- RY = { properties = [ "controllable", "invertible" ] }
42
- RZ = { properties = [ "controllable", "invertible" ] }
43
- Rot = { properties = [ "controllable", "invertible" ] }
44
- CRX = { properties = [ "controllable", "invertible" ] }
45
- CRY = { properties = [ "controllable", "invertible" ] }
46
- CRZ = { properties = [ "controllable", "invertible" ] }
47
- CRot = { properties = [ "controllable", "invertible" ] }
48
- U3 = { properties = [ "controllable", "invertible" ] }
49
- MultiControlledX = { properties = [ "controllable", "invertible" ] }
24
+ SX = { properties = [ "invertible" ] }
25
+ MultiRZ = { properties = [ "invertible" ] }
26
+ Hadamard = { properties = [ "invertible" ] }
27
+ S = { properties = [ "invertible" ] }
28
+ T = { properties = [ "invertible" ] }
29
+ CNOT = { properties = [ "invertible" ] }
30
+ SWAP = { properties = [ "invertible" ] }
31
+ ISWAP = { properties = [ "invertible" ] }
32
+ PSWAP = { properties = [ "invertible" ] }
33
+ CY = { properties = [ "invertible" ] }
34
+ CZ = { properties = [ "invertible" ] }
35
+ PhaseShift = { properties = [ "invertible" ] }
36
+ RX = { properties = [ "invertible" ] }
37
+ RY = { properties = [ "invertible" ] }
38
+ RZ = { properties = [ "invertible" ] }
39
+ Rot = { properties = [ "invertible" ] }
40
+ U3 = { properties = [ "invertible" ] }
50
41
  Identity = { properties = [ "controllable", "invertible" ] }
51
42
 
52
43
  # Observables supported by the device for measurements. The observables defined
@@ -21,23 +21,32 @@ schema = 3
21
21
  PauliX = { properties = [ "controllable", "invertible" ] }
22
22
  PauliY = { properties = [ "controllable", "invertible" ] }
23
23
  PauliZ = { properties = [ "controllable", "invertible" ] }
24
- SX = { properties = [ "invertible" ] }
25
- MultiRZ = { properties = [ "invertible" ] }
26
- Hadamard = { properties = [ "invertible" ] }
27
- S = { properties = [ "invertible" ] }
28
- T = { properties = [ "invertible" ] }
29
- CNOT = { properties = [ "invertible" ] }
30
- SWAP = { properties = [ "invertible" ] }
31
- ISWAP = { properties = [ "invertible" ] }
32
- PSWAP = { properties = [ "invertible" ] }
33
- CY = { properties = [ "invertible" ] }
34
- CZ = { properties = [ "invertible" ] }
35
- PhaseShift = { properties = [ "invertible" ] }
36
- RX = { properties = [ "invertible" ] }
37
- RY = { properties = [ "invertible" ] }
38
- RZ = { properties = [ "invertible" ] }
39
- Rot = { properties = [ "invertible" ] }
40
- U3 = { properties = [ "invertible" ] }
24
+ SX = { properties = [ "controllable", "invertible" ] }
25
+ MultiRZ = { properties = [ "controllable", "invertible" ] }
26
+ Hadamard = { properties = [ "controllable", "invertible" ] }
27
+ S = { properties = [ "controllable", "invertible" ] }
28
+ T = { properties = [ "controllable", "invertible" ] }
29
+ CNOT = { properties = [ "controllable", "invertible" ] }
30
+ SWAP = { properties = [ "controllable", "invertible" ] }
31
+ CSWAP = { properties = [ "controllable", "invertible" ] }
32
+ ISWAP = { properties = [ "controllable", "invertible" ] }
33
+ PSWAP = { properties = [ "controllable", "invertible" ] }
34
+ Toffoli = { properties = [ "controllable", "invertible" ] }
35
+ CY = { properties = [ "controllable", "invertible" ] }
36
+ CZ = { properties = [ "controllable", "invertible" ] }
37
+ PhaseShift = { properties = [ "controllable", "invertible" ] }
38
+ ControlledPhaseShift = { properties = [ "controllable", "invertible" ] }
39
+ CPhase = { properties = [ "controllable", "invertible" ] }
40
+ RX = { properties = [ "controllable", "invertible" ] }
41
+ RY = { properties = [ "controllable", "invertible" ] }
42
+ RZ = { properties = [ "controllable", "invertible" ] }
43
+ Rot = { properties = [ "controllable", "invertible" ] }
44
+ CRX = { properties = [ "controllable", "invertible" ] }
45
+ CRY = { properties = [ "controllable", "invertible" ] }
46
+ CRZ = { properties = [ "controllable", "invertible" ] }
47
+ CRot = { properties = [ "controllable", "invertible" ] }
48
+ U3 = { properties = [ "controllable", "invertible" ] }
49
+ MultiControlledX = { properties = [ "controllable", "invertible" ] }
41
50
  Identity = { properties = [ "controllable", "invertible" ] }
42
51
 
43
52
  # Observables supported by the device for measurements. The observables defined
@@ -16,4 +16,4 @@
16
16
  Version number (major.minor.patch[-label])
17
17
  """
18
18
 
19
- __version__ = "0.20.0"
19
+ __version__ = "0.20.2"
@@ -52,7 +52,7 @@ class QrackAceDevice(QubitDevice):
52
52
  """Qrack Ace device"""
53
53
 
54
54
  name = "Qrack device"
55
- short_name = "qrack.simulator"
55
+ short_name = "qrack.ace"
56
56
  pennylane_requires = ">=0.11.0"
57
57
  version = __version__
58
58
  author = "Daniel Strano, adapted from Steven Oud and Xanadu"
@@ -85,11 +85,6 @@ class QrackAceDevice(QubitDevice):
85
85
  "Identity",
86
86
  "C(Identity)",
87
87
  "MultiRZ",
88
- "C(MultiRZ)",
89
- "CRX",
90
- "CRY",
91
- "CRZ",
92
- "CRot",
93
88
  "SWAP",
94
89
  "ISWAP",
95
90
  "PSWAP",
@@ -110,20 +105,17 @@ class QrackAceDevice(QubitDevice):
110
105
  "Hadamard",
111
106
  "SX",
112
107
  "PhaseShift",
113
- "C(PhaseShift)",
114
108
  "U3",
115
109
  "Rot",
116
- "ControlledPhaseShift",
117
- "CPhase",
118
110
  }
119
111
 
120
112
  config_filepath = pathlib.Path(
121
- os.path.dirname(sys.modules[__name__].__file__) + "/QrackDeviceConfig.toml"
113
+ os.path.dirname(sys.modules[__name__].__file__) + "/QrackAceDeviceConfig.toml"
122
114
  )
123
115
 
124
116
  # Use "hybrid" stabilizer optimization? (Default is "true"; non-Clifford circuits will fall back to near-Clifford or universal simulation)
125
117
  isStabilizerHybrid = False
126
- # Use "tensor network" optimization? (Default is "true"; prevents dynamic qubit de-allocation; might function sub-optimally with "hybrid" stabilizer enabled)
118
+ # Use "tensor network" optimization? (Default is "false"; prevents dynamic qubit de-allocation; might function sub-optimally with "hybrid" stabilizer enabled)
127
119
  isTensorNetwork = False
128
120
  # Use Schmidt decomposition optimizations? (Default is "true")
129
121
  isSchmidtDecompose = True
@@ -383,6 +375,9 @@ class QrackAceDevice(QubitDevice):
383
375
  ]:
384
376
  raise DeviceError(f"Operation {opname} is not supported on a {self.short_name} device.")
385
377
 
378
+ def analytic_probability(self, wires=None):
379
+ raise DeviceError(f"analytic_probability is not supported on a {self.short_name} device. (Specify a finite number of shots, instead.)")
380
+
386
381
  def expval(self, observable, **kwargs):
387
382
  if self.shots is None:
388
383
  if isinstance(observable.name, list):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pennylane-qrack
3
- Version: 0.20.0
3
+ Version: 0.20.2
4
4
  Summary: PennyLane plugin for Qrack.
5
5
  Home-page: http://github.com/vm6502q
6
6
  Maintainer: vm6502q
@@ -55,6 +55,7 @@ Features
55
55
 
56
56
  * Provides access to a PyQrack simulator backend via the ``qrack.simulator`` device
57
57
  * Provides access to a (C++) Qrack simulator backend for Catalyst (also) via the ``qrack.simulator`` device
58
+ * Provides access to a PyQrack simulator backend optimized for approximate NISQ-scale TFIM via the ``qrack.ace`` device
58
59
 
59
60
  .. installation-start-inclusion-marker-do-not-remove
60
61
 
@@ -0,0 +1,17 @@
1
+ pennylane_qrack/CMakeCache.txt,sha256=usrm5KNzAubRd78AO_i7k1qmUjtACaRyqi4m-esG7w4,15177
2
+ pennylane_qrack/Makefile,sha256=Od_33AWv8Jgk8ZWvL7lklT2Awce38c1lIgMyys5-RuE,7584
3
+ pennylane_qrack/QrackAceDeviceConfig.toml,sha256=KmPPJEa6TMYpbQqQgMSAPfeGPQE8f1lriteyfGW8WeA,4517
4
+ pennylane_qrack/QrackDeviceConfig.toml,sha256=oR9-dIAP6BzP3e2QSLroacaloHZsx7iJiKE6w7LGxUo,5459
5
+ pennylane_qrack/__init__.py,sha256=_g4NKu07_pXqxvQaxjdAPe769S5tWwYjqyHi3z7YKHc,673
6
+ pennylane_qrack/_version.py,sha256=vMZQKNgr8Kyje0V3QA1HS3Mzl1JdVPl2aV2losVODZU,689
7
+ pennylane_qrack/cmake_install.cmake,sha256=jP3YWPs_F3JYlifubQTLq95RWHkadWyv_BNvMw3MzhU,3521
8
+ pennylane_qrack/libqrack_device.so,sha256=c-g25kADnB9KoB6uoLO3GzzF40R9ATFnW1JY0FWL6zs,5857864
9
+ pennylane_qrack/qrack_ace_device.py,sha256=KFrUxJ4osPiq6w1n44ZO8_0AgQa7Y9XPC7NLhlzIiog,16939
10
+ pennylane_qrack/qrack_device.cpp,sha256=0Dbey1g3DQeWYrzS9622Y7QDhizISuII49XLuv9xFIY,38115
11
+ pennylane_qrack/qrack_device.py,sha256=kefy76z8z9EQ6Z4gkNUxZXzOXNaQKUBetKPUO2RGsig,28236
12
+ pennylane_qrack-0.20.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
13
+ pennylane_qrack-0.20.2.dist-info/METADATA,sha256=aq9U0sYhcHh359AjeeQf82yTZGJRiuznsnYZA1nFQ6U,5858
14
+ pennylane_qrack-0.20.2.dist-info/WHEEL,sha256=AMMNaGlKLEICDqgnxZojk7k8N6wUjQQ3X9tPjxJ2sOc,110
15
+ pennylane_qrack-0.20.2.dist-info/entry_points.txt,sha256=40UT4C2aZ8YFS8hkGa-zN-ufm34BBqeHgWtQZJC83as,140
16
+ pennylane_qrack-0.20.2.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
17
+ pennylane_qrack-0.20.2.dist-info/RECORD,,
@@ -1,17 +0,0 @@
1
- pennylane_qrack/CMakeCache.txt,sha256=usrm5KNzAubRd78AO_i7k1qmUjtACaRyqi4m-esG7w4,15177
2
- pennylane_qrack/Makefile,sha256=Od_33AWv8Jgk8ZWvL7lklT2Awce38c1lIgMyys5-RuE,7584
3
- pennylane_qrack/QrackAceDeviceConfig.toml,sha256=26At_9dsy_5bNe-rdW24BgQfWq8H5r8kf88oKLIma-c,5473
4
- pennylane_qrack/QrackDeviceConfig.toml,sha256=qLzlakUAXGwz0ijRrsMZ9R0YLH7c43tjWAaoKzyALEY,4503
5
- pennylane_qrack/__init__.py,sha256=_g4NKu07_pXqxvQaxjdAPe769S5tWwYjqyHi3z7YKHc,673
6
- pennylane_qrack/_version.py,sha256=Ve10a6bX4Wzod0cprKE2Y8oJgYTpUJTknN_3Q1cTiuI,689
7
- pennylane_qrack/cmake_install.cmake,sha256=jP3YWPs_F3JYlifubQTLq95RWHkadWyv_BNvMw3MzhU,3521
8
- pennylane_qrack/libqrack_device.so,sha256=c-g25kADnB9KoB6uoLO3GzzF40R9ATFnW1JY0FWL6zs,5857864
9
- pennylane_qrack/qrack_ace_device.py,sha256=PpwloyAW7z0jyYBQH3FX8Z6ZtXKEajV0QJtiZ6ai228,16906
10
- pennylane_qrack/qrack_device.cpp,sha256=0Dbey1g3DQeWYrzS9622Y7QDhizISuII49XLuv9xFIY,38115
11
- pennylane_qrack/qrack_device.py,sha256=kefy76z8z9EQ6Z4gkNUxZXzOXNaQKUBetKPUO2RGsig,28236
12
- pennylane_qrack-0.20.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
13
- pennylane_qrack-0.20.0.dist-info/METADATA,sha256=WFwJqH23xmJaPb2sZ6akZQCGI4TtGgJz4ow3-Tsdox4,5738
14
- pennylane_qrack-0.20.0.dist-info/WHEEL,sha256=AMMNaGlKLEICDqgnxZojk7k8N6wUjQQ3X9tPjxJ2sOc,110
15
- pennylane_qrack-0.20.0.dist-info/entry_points.txt,sha256=40UT4C2aZ8YFS8hkGa-zN-ufm34BBqeHgWtQZJC83as,140
16
- pennylane_qrack-0.20.0.dist-info/top_level.txt,sha256=5NFMNHqCHtVLwNkLg66xz846uUJAlnOJ5VGa6ulW1ow,16
17
- pennylane_qrack-0.20.0.dist-info/RECORD,,