pyqrack 1.29.0__py3-none-win_amd64.whl → 1.72.5__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.
- pyqrack/__init__.py +13 -6
- pyqrack/neuron_activation_fn.py +2 -2
- pyqrack/pauli.py +1 -1
- pyqrack/qrack_ace_backend.py +1544 -0
- pyqrack/qrack_circuit.py +212 -100
- pyqrack/qrack_neuron.py +27 -9
- pyqrack/qrack_neuron_torch_layer.py +170 -0
- pyqrack/qrack_simulator.py +870 -310
- pyqrack/qrack_stabilizer.py +58 -0
- pyqrack/qrack_system/qrack_cl_precompile/qrack_cl_precompile.exe +0 -0
- pyqrack/qrack_system/qrack_lib/qrack_pinvoke.dll +0 -0
- pyqrack/qrack_system/qrack_system.py +228 -135
- pyqrack/quimb_circuit_type.py +1 -1
- pyqrack/stats/__init__.py +6 -0
- pyqrack/stats/load_quantized_data.py +35 -0
- pyqrack/stats/quantize_by_range.py +56 -0
- {pyqrack-1.29.0.dist-info → pyqrack-1.72.5.dist-info}/LICENSE +1 -1
- pyqrack-1.72.5.dist-info/METADATA +82 -0
- pyqrack-1.72.5.dist-info/RECORD +22 -0
- {pyqrack-1.29.0.dist-info → pyqrack-1.72.5.dist-info}/WHEEL +1 -1
- pyqrack/util/__init__.py +0 -8
- pyqrack/util/convert_qiskit_circuit_to_qasm_experiment.py +0 -61
- pyqrack-1.29.0.dist-info/METADATA +0 -61
- pyqrack-1.29.0.dist-info/RECORD +0 -17
- {pyqrack-1.29.0.dist-info → pyqrack-1.72.5.dist-info}/top_level.txt +0 -0
pyqrack/__init__.py
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
# (C) Daniel Strano and the Qrack contributors 2017-
|
|
1
|
+
# (C) Daniel Strano and the Qrack contributors 2017-2025. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# Use of this source code is governed by an MIT-style license that can be
|
|
4
4
|
# found in the LICENSE file or at https://opensource.org/licenses/MIT.
|
|
5
5
|
|
|
6
|
-
from .qrack_system import QrackSystem, Qrack
|
|
7
|
-
from .qrack_simulator import QrackSimulator
|
|
8
|
-
from .qrack_neuron import QrackNeuron
|
|
9
|
-
from .qrack_circuit import QrackCircuit
|
|
10
6
|
from .pauli import Pauli
|
|
11
7
|
from .neuron_activation_fn import NeuronActivationFn
|
|
12
8
|
from .quimb_circuit_type import QuimbCircuitType
|
|
13
|
-
from .
|
|
9
|
+
from .qrack_ace_backend import QrackAceBackend
|
|
10
|
+
from .qrack_circuit import QrackCircuit
|
|
11
|
+
from .qrack_neuron import QrackNeuron
|
|
12
|
+
from .qrack_neuron_torch_layer import (
|
|
13
|
+
QrackTorchNeuron,
|
|
14
|
+
QrackNeuronFunction,
|
|
15
|
+
QrackNeuronTorchLayer,
|
|
16
|
+
)
|
|
17
|
+
from .qrack_simulator import QrackSimulator
|
|
18
|
+
from .qrack_stabilizer import QrackStabilizer
|
|
19
|
+
from .qrack_system import QrackSystem, Qrack
|
|
20
|
+
from .stats.quantize_by_range import quantize_by_range
|
pyqrack/neuron_activation_fn.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# (C) Daniel Strano and the Qrack contributors 2017-
|
|
1
|
+
# (C) Daniel Strano and the Qrack contributors 2017-2025. All rights reserved.
|
|
2
2
|
#
|
|
3
3
|
# Pauli operators are specified for "b" (or "basis") parameters.
|
|
4
4
|
#
|
|
@@ -11,7 +11,7 @@ from enum import IntEnum
|
|
|
11
11
|
class NeuronActivationFn(IntEnum):
|
|
12
12
|
# Default
|
|
13
13
|
Sigmoid = 0
|
|
14
|
-
# Rectified linear
|
|
14
|
+
# Rectified linear
|
|
15
15
|
ReLU = 1
|
|
16
16
|
# Gaussian linear
|
|
17
17
|
GeLU = 2
|
pyqrack/pauli.py
CHANGED