pyqrack-cpu 1.34.8__py3-none-manylinux_2_39_x86_64.whl → 1.35.4__py3-none-manylinux_2_39_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 pyqrack-cpu might be problematic. Click here for more details.

@@ -6,13 +6,13 @@
6
6
  import copy
7
7
  import ctypes
8
8
  import math
9
+ import os
9
10
  import re
10
11
  from .qrack_system import Qrack
11
12
  from .pauli import Pauli
12
13
 
13
14
  _IS_QISKIT_AVAILABLE = True
14
15
  try:
15
- from qiskit.circuit import QuantumRegister, Qubit
16
16
  from qiskit.circuit.quantumcircuit import QuantumCircuit
17
17
  from qiskit.compiler import transpile
18
18
  from qiskit.qobj.qasm_qobj import QasmQobjExperiment
@@ -60,7 +60,7 @@ class QrackSimulator:
60
60
  isPaged=True,
61
61
  isCpuGpuHybrid=True,
62
62
  isOpenCL=True,
63
- isHostPointer=False,
63
+ isHostPointer=True if os.environ.get('PYQRACK_HOST_POINTER_DEFAULT_ON') else False,
64
64
  noise=0,
65
65
  pyzxCircuit=None,
66
66
  qiskitCircuit=None,
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pyqrack-cpu
3
- Version: 1.34.8
3
+ Version: 1.35.4
4
4
  Summary: pyqrack - Pure Python vm6502q/qrack Wrapper
5
5
  Home-page: https://github.com/vm6502q/pyqrack
6
6
  Author: Daniel Strano
@@ -39,6 +39,16 @@ Description-Content-Type: text/markdown
39
39
  License-File: LICENSE
40
40
  Provides-Extra: dev
41
41
  Requires-Dist: pytest>=7.3.1; extra == "dev"
42
+ Dynamic: author
43
+ Dynamic: author-email
44
+ Dynamic: classifier
45
+ Dynamic: description
46
+ Dynamic: description-content-type
47
+ Dynamic: home-page
48
+ Dynamic: keywords
49
+ Dynamic: license
50
+ Dynamic: provides-extra
51
+ Dynamic: summary
42
52
 
43
53
  # pyqrack
44
54
  [![Downloads](https://pepy.tech/badge/pyqrack-cpu)](https://pepy.tech/project/pyqrack-cpu) [![Downloads](https://pepy.tech/badge/pyqrack-cpu/month)](https://pepy.tech/project/pyqrack-cpu) [![Downloads](https://static.pepy.tech/badge/pyqrack-cpu/week)](https://pepy.tech/project/pyqrack-cpu)
@@ -47,13 +57,15 @@ Pure Python bindings for the pure C++11 Qrack quantum computer simulator library
47
57
 
48
58
  (**PyQrack** is just pure Qrack.)
49
59
 
50
- <<<<<<< HEAD
51
- This is the **purely CPU-based** variant of PyQrack (with module name `pyqrack-cpu`). This alternate build of PyQrack is provided so that systems that won't use OpenCL anyway (such as because they lack any GPUs or other accelerators like the Intel HD) do not need to install the OpenCL library in order to use PyQrack. In this form, both the PyQrack module and the underlying C++ Qrack library are entirely external **dependency-free.**
60
+ This is the **purely CPU-based** variant of PyQrack (with module name `pyqrack-cpu`). This alternate build of PyQrack is provided so that systems that won't use OpenCL or CUDA anyway (such as because they lack any GPUs or other accelerators like the Intel HD) do not need to install the OpenCL library in order to use PyQrack. In this form, both the PyQrack module and the underlying C++ Qrack library are entirely external **dependency-free.**
61
+
62
+ **If you're looking for Mac ARM support, use the package `pyqrack`, not `pyqrack-cpu`.** Mac officially "deprecated" OpenCL years ago. Hence, accelerator support is not included in ARM-based Mac wheels, and OpenCL installation is **not** required on these systems, but, if you have a CUDA accelerator on ARM-based Mac, you could try the package `pyqrack-cuda` instead.
52
63
 
53
64
  (**If you installing from source,** it doesn't matter whether you use `pyqrack` or `pyqrack-cpu`, because the build version of C++ Qrack you intend to use must already be installed locally.)
54
- =======
55
- **Note, if building from source**: You must build and install [unitaryfund/qrack](https://github.com/unitaryfund/qrack) to build the `main` branch from source. CI/CD builds wheels that contain pre-compiled Qrack binaries, and that is the form published on PyPi. **You must also install OpenCL.**
56
- >>>>>>> main
65
+
66
+ **If you're looking for Mac ARM support, use the package `pyqrack`, not `pyqrack-cpu`.** Mac officially "deprecated" OpenCL years ago. Hence, accelerator support is not included in ARM-based Mac wheels, and OpenCL installation is **not** required on these systems, but, if you have a CUDA accelerator on ARM-based Mac, you could try the package `pyqrack-cuda` instead.
67
+
68
+ **Performance can benefit greatly from following the [Qrack repository "Quick Start" and "Power user considerations."](https://github.com/unitaryfund/qrack/blob/main/README.md#quick-start)**
57
69
 
58
70
  Import and instantiate [`QrackSimulator`](https://github.com/unitaryfund/pyqrack/blob/main/pyqrack/qrack_simulator.py) instances. This simulator can perform arbitrary single qubit and controlled-single-qubit gates, as well as other specific gates like `SWAP`.
59
71
 
@@ -3,16 +3,16 @@ pyqrack/neuron_activation_fn.py,sha256=xpL5MLEOi4FwAI3XZbtvdzM_5nan02yDnvO_tH4ch
3
3
  pyqrack/pauli.py,sha256=DPvdqrz6w6M35f87sFYhwiQULrTThy2Nxd_CKp7EfXo,654
4
4
  pyqrack/qrack_circuit.py,sha256=V6jQiVw6wHPUzkiAS6_tp2PBqYDPFU5k4WWHMsD0VdE,19093
5
5
  pyqrack/qrack_neuron.py,sha256=8i5oIxmf9IxTcBz7QRdhK4ABM2m2_N8ktR4pj6ALg0k,8842
6
- pyqrack/qrack_simulator.py,sha256=IdDsGRGazD3NBm0G_crrt8UcwKPHaLwv6LCzzYD9D24,133186
6
+ pyqrack/qrack_simulator.py,sha256=YIAryy6PG-m-O1dirwN_LvoQOB4tXYSota-RVTzTqek,133205
7
7
  pyqrack/quimb_circuit_type.py,sha256=UDiojIfsPQCsBFGekEsbg8t1j11cz4e4Kg7OetkFNfk,621
8
8
  pyqrack/qrack_system/__init__.py,sha256=-oZ9dsb1hixsnrkUJRY_C5DzQ_l6MtifF_Z465BgqV4,334
9
9
  pyqrack/qrack_system/qrack_system.py,sha256=dA5U7zAxxR6EDKYCtvAyzGQOCNfXW2IcjAAAr0ohGxY,41798
10
- pyqrack/qrack_system/qrack_lib/libqrack_pinvoke.so,sha256=WUHmn818HCxOTGnpL7uCxa4b9NSV7pys5KkrUZ0CtuE,3424992
11
- pyqrack/qrack_system/qrack_lib/libqrack_pinvoke.so.9.13.9,sha256=WUHmn818HCxOTGnpL7uCxa4b9NSV7pys5KkrUZ0CtuE,3424992
10
+ pyqrack/qrack_system/qrack_lib/libqrack_pinvoke.so,sha256=5plCsJU0KlaxmH0Hm6zgJFl_r3vlSK62PFATZ1zr9gI,3425000
11
+ pyqrack/qrack_system/qrack_lib/libqrack_pinvoke.so.9.13.24,sha256=5plCsJU0KlaxmH0Hm6zgJFl_r3vlSK62PFATZ1zr9gI,3425000
12
12
  pyqrack/util/__init__.py,sha256=8ruN0efivTWkGQUevXnd0qvC9k36LJjJNf2f39Zc5jc,333
13
13
  pyqrack/util/convert_qiskit_circuit_to_qasm_experiment.py,sha256=omp5MxOa8m5H0cyClFGCLlTacNu5K9ezKbitwqABu0U,2065
14
- pyqrack_cpu-1.34.8.dist-info/LICENSE,sha256=HxB-7SaWTuewAk1nz-3_3FUD6QhgX73kNT_taKVUTq8,1069
15
- pyqrack_cpu-1.34.8.dist-info/METADATA,sha256=k-T8MG_58c_377PS1OiaPSyt7xi3CcW63iaCPtZb_cs,5862
16
- pyqrack_cpu-1.34.8.dist-info/WHEEL,sha256=XL-RmQtOtWa2vUMnW3zWXqiXF8XrZrPDMqRJ74u1GFc,109
17
- pyqrack_cpu-1.34.8.dist-info/top_level.txt,sha256=YE_3q9JTGRLMilNg2tGP1y7uU-Dx8PDao2OhwoIbv8E,8
18
- pyqrack_cpu-1.34.8.dist-info/RECORD,,
14
+ pyqrack_cpu-1.35.4.dist-info/LICENSE,sha256=HxB-7SaWTuewAk1nz-3_3FUD6QhgX73kNT_taKVUTq8,1069
15
+ pyqrack_cpu-1.35.4.dist-info/METADATA,sha256=D2JyMaeJ_9p46xncYBe80z_ZfY9u6Ip__gPoHXpFbk8,6680
16
+ pyqrack_cpu-1.35.4.dist-info/WHEEL,sha256=G8MkZy4GnC_EwZ6lUC3NPWENKF3an-ssF5TEaP9IWAw,109
17
+ pyqrack_cpu-1.35.4.dist-info/top_level.txt,sha256=YE_3q9JTGRLMilNg2tGP1y7uU-Dx8PDao2OhwoIbv8E,8
18
+ pyqrack_cpu-1.35.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-manylinux_2_39_x86_64
5
5