pyqrack-cpu 2.28.0__tar.gz → 2.28.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.
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/Makefile +1 -1
- {pyqrack_cpu-2.28.0/pyqrack_cpu.egg-info → pyqrack_cpu-2.28.2}/PKG-INFO +1 -1
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_ace_backend.py +2 -4
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2/pyqrack_cpu.egg-info}/PKG-INFO +1 -1
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/setup.py +1 -1
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/LICENSE +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/MANIFEST.in +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/README.md +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyproject.toml +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/__init__.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/neuron_activation_fn.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/pauli.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_ace_mps_backend.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_circuit.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_near_clifford_qec_backend.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_neuron.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_neuron_torch_layer.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_simulator.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_stabilizer.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_system/__init__.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/qrack_system/qrack_system.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/quimb_circuit_type.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/stats/__init__.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/stats/load_quantized_data.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack/stats/quantize_by_range.py +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack_cpu.egg-info/SOURCES.txt +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack_cpu.egg-info/dependency_links.txt +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack_cpu.egg-info/not-zip-safe +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack_cpu.egg-info/requires.txt +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/pyqrack_cpu.egg-info/top_level.txt +0 -0
- {pyqrack_cpu-2.28.0 → pyqrack_cpu-2.28.2}/setup.cfg +0 -0
|
@@ -30,7 +30,7 @@ build-deps:
|
|
|
30
30
|
rm -rf pyqrack/qrack_system/qrack_cl_precompile
|
|
31
31
|
ifneq ($(OS),Windows_NT)
|
|
32
32
|
ifeq ($(QRACK_PRESENT),)
|
|
33
|
-
git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout
|
|
33
|
+
git clone https://github.com/unitaryfund/qrack.git; cd qrack; git checkout 1ae704684a1ff692e6479fc85565f88dee582753; cd ..
|
|
34
34
|
endif
|
|
35
35
|
mkdir -p qrack/build
|
|
36
36
|
ifeq ($(UNAME_S),Linux)
|
|
@@ -1618,7 +1618,7 @@ class QrackAceBackend:
|
|
|
1618
1618
|
# a lq2-invariant check for that gate family, same reasoning as
|
|
1619
1619
|
# the single-replica CZ dual-check elsewhere.
|
|
1620
1620
|
anc = None
|
|
1621
|
-
if self.is_error_detection and (not self._in_gadget_capture) and (len(hq2) > 1):
|
|
1621
|
+
if self.is_error_detection and (not self._in_gadget_capture) and ((len(hq1) > 1) or (len(hq2) > 1)):
|
|
1622
1622
|
anc_sim = hq1[0][0]
|
|
1623
1623
|
t_sims = {y[0] for y in hq2 if y[0] >= 0}
|
|
1624
1624
|
for x in hq1:
|
|
@@ -2173,7 +2173,7 @@ class QrackAceBackend:
|
|
|
2173
2173
|
# bulk on this path (the len(hqt) > 1 case returns earlier,
|
|
2174
2174
|
# above) and nothing else in this method uses that array anymore.
|
|
2175
2175
|
anc_and = None
|
|
2176
|
-
if self.is_error_detection and not self._in_gadget_capture and (len(hqt) > 1):
|
|
2176
|
+
if self.is_error_detection and not self._in_gadget_capture and ((len(hqt) > 1) or (len(hq1) > 1) or (len(hq2) > 1)):
|
|
2177
2177
|
found = False
|
|
2178
2178
|
anc_sim = hq1[0][0]
|
|
2179
2179
|
t_sims = {y[0] for y in hqt if y[0] >= 0}
|
|
@@ -3228,5 +3228,3 @@ class QrackAceBackend:
|
|
|
3228
3228
|
)
|
|
3229
3229
|
|
|
3230
3230
|
return noise_model
|
|
3231
|
-
|
|
3232
|
-
return noise_model
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|