pyqrack-complex128 2.0.0__tar.gz → 2.0.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_complex128-2.0.0 → pyqrack_complex128-2.0.2}/Makefile +1 -1
- {pyqrack_complex128-2.0.0/pyqrack_complex128.egg-info → pyqrack_complex128-2.0.2}/PKG-INFO +1 -1
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_simulator.py +3 -3
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2/pyqrack_complex128.egg-info}/PKG-INFO +1 -1
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/setup.py +1 -1
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/LICENSE +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/MANIFEST.in +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/README.md +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyproject.toml +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/__init__.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/neuron_activation_fn.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/pauli.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_ace_backend.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_circuit.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_near_clifford_qec_backend.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_neuron.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_neuron_torch_layer.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_stabilizer.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_system/__init__.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_system/qrack_system.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/quimb_circuit_type.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/stats/__init__.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/stats/load_quantized_data.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/stats/quantize_by_range.py +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/SOURCES.txt +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/dependency_links.txt +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/not-zip-safe +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/requires.txt +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/top_level.txt +0 -0
- {pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.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 37c6b75d1dec09b8f7e18ccf35b12de5633fce24; cd ..
|
|
34
34
|
endif
|
|
35
35
|
mkdir -p qrack/build
|
|
36
36
|
ifeq ($(UNAME_S),Linux)
|
|
@@ -122,7 +122,7 @@ class QrackSimulator:
|
|
|
122
122
|
self.run_qiskit_circuit(qiskit_circuit)
|
|
123
123
|
|
|
124
124
|
def __del__(self):
|
|
125
|
-
if self.sid is not None:
|
|
125
|
+
if hasattr(self, "sid") and (self.sid is not None):
|
|
126
126
|
Qrack.qrack_lib.destroy(self.sid)
|
|
127
127
|
self.sid = None
|
|
128
128
|
|
|
@@ -220,7 +220,7 @@ class QrackSimulator:
|
|
|
220
220
|
self._throw_if_error()
|
|
221
221
|
|
|
222
222
|
def clone(self):
|
|
223
|
-
return QrackSimulator(
|
|
223
|
+
return QrackSimulator(clone_sid=self.sid)
|
|
224
224
|
|
|
225
225
|
# standard gates
|
|
226
226
|
|
|
@@ -4459,7 +4459,7 @@ class QrackSimulator:
|
|
|
4459
4459
|
self._classical_memory = 0
|
|
4460
4460
|
self._classical_register = 0
|
|
4461
4461
|
else:
|
|
4462
|
-
self._sim = QrackSimulator(
|
|
4462
|
+
self._sim = QrackSimulator(clone_sid=preamble_sim.sid)
|
|
4463
4463
|
self._classical_memory = preamble_memory
|
|
4464
4464
|
self._classical_register = preamble_register
|
|
4465
4465
|
|
|
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
|
{pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack/qrack_near_clifford_qec_backend.py
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
|
{pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/requires.txt
RENAMED
|
File without changes
|
{pyqrack_complex128-2.0.0 → pyqrack_complex128-2.0.2}/pyqrack_complex128.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|