lazyqml 3.1.1__py2.py3-none-any.whl → 3.2.1__py2.py3-none-any.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.
@@ -68,7 +68,10 @@ class Dispatcher:
68
68
  numProcs = psutil.cpu_count(logical=False)
69
69
  total_memory = calculate_free_memory()
70
70
  available_memory = total_memory
71
- available_cores = numProcs
71
+ if not self.sequential:
72
+ available_cores = numProcs
73
+ else:
74
+ available_cores = 1
72
75
 
73
76
  # Lock para el acceso seguro a los recursos compartidos
74
77
  manager = Manager()
lazyqml/__init__.py CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  __author__ = """Diego García Vega, Fernando Álvaro Plou Llorente, Alejandro Leal Castaño"""
4
4
  __email__ = "garciavdiego@uniovi.es, ploufernando@uniovi.es, lealcalejandro@uniovi.es"
5
- __version__ = "3.1.1"
5
+ __version__ = "3.2.1"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: lazyqml
3
- Version: 3.1.1
3
+ Version: 3.2.1
4
4
  Summary: LazyQML benchmarking utility to test quantum machine learning models.
5
5
  Author-email: QHPC Group <qhpcgroup@gmail.com>
6
6
  License: MIT License
@@ -37,7 +37,7 @@ Requires-Dist: lazyqml[extra]; extra == "all"
37
37
  Provides-Extra: extra
38
38
  Requires-Dist: pandas; extra == "extra"
39
39
 
40
- ![logo](https://github.com/QHPC-SP-Research-Lab/LazyQML/blob/main/docs/logo.jpg)
40
+ ![LazyQML](./docs/logo.jpg)
41
41
  ---
42
42
  [![Pypi](https://img.shields.io/badge/pypi-%23ececec.svg?style=for-the-badge&logo=pypi&logoColor=1f73b7)](https://pypi.python.org/pypi/lazyqml)
43
43
  ![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)
@@ -68,15 +68,15 @@ With LazyQML, you can:
68
68
  - Flexible & Modular: From basic quantum circuits to hybrid quantum-classical models—LazyQML has you covered.
69
69
 
70
70
  ## Documentation
71
- For detailed usage instructions, API reference, and code examples, please refer to the official LazyQML documentation.
71
+ For detailed usage instructions, API reference, and code examples, please refer to the official LazyQML [documentation](https://qhpc-sp-research-lab.github.io/LazyQML/).
72
72
 
73
73
  ## Requirements
74
74
 
75
75
  - Python >= 3.10
76
76
 
77
- > [!CAUTION]
77
+ > ❗❗
78
78
  > This library is only supported by Linux Systems. It doesn't support Windows nor MacOS.
79
-
79
+ > Only supports CUDA compatible devices.
80
80
 
81
81
  ## Installation
82
82
  To install lazyqml, run this command in your terminal:
@@ -1,4 +1,4 @@
1
- lazyqml/__init__.py,sha256=DaUITbWAaJkFDIA_T-76tEa7jmhGxVmB4_TfLJyZpWQ,242
1
+ lazyqml/__init__.py,sha256=Q7dw-Oljzs3Cp8lh7UKm8Nf-ZM9HzANq8oSo0YsCQXE,242
2
2
  lazyqml/lazyqml.py,sha256=zrKvufHWroOnHJeeytKqrZ3BsWliFRvwVzdcsV8I-cE,14397
3
3
  lazyqml/Factories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  lazyqml/Factories/Circuits/AmplitudeEmbedding.py,sha256=alkSF082NuQk_FkBfCh3fMPu_d6q7kBIfyhYBztlhYo,646
@@ -11,7 +11,7 @@ lazyqml/Factories/Circuits/TreeTensor.py,sha256=FRgLe9VariRKUYiNXqiKp1fxdSEV1Avg
11
11
  lazyqml/Factories/Circuits/TwoLocal.py,sha256=9TVqLlGTmcaVz92vfJCiTHgjJrcvQoT-9wZJL2O3HEw,970
12
12
  lazyqml/Factories/Circuits/ZzEmbedding.py,sha256=x3jRAxJcd1uvacvIYyDL39TE-jNVeHhSTUUIREh4XZE,1070
13
13
  lazyqml/Factories/Circuits/fCircuits.py,sha256=s7t_o5ieKiq8t34qCZhPw_Hww6GmLBwM8Lbo74yrC38,1740
14
- lazyqml/Factories/Dispatchers/Dispatcher.py,sha256=Qqh1WNvysBH1z9JTyWEWmhOu9uAxPuB4dwzmv0ImH-0,14486
14
+ lazyqml/Factories/Dispatchers/Dispatcher.py,sha256=FZ9OK2cYZK7y5zlYZ52a1K5JzWyqlN2z9rkHqo-VL5M,14568
15
15
  lazyqml/Factories/Models/Hybrid.py,sha256=_hzxLQiLkG-shGmNAXrebQoLKJ3HrAyUZUX2g9C-rhw,17704
16
16
  lazyqml/Factories/Models/QNNBag.py,sha256=OUaZkEJ97WieFxHYx5lk-AixQGEmI7qp2oFJ_xS_Qms,6608
17
17
  lazyqml/Factories/Models/QNNTorch.py,sha256=IyQJp0YiPpOA-5VCwUCsiYP89m-eTEuPf2MLdZu8clc,6636
@@ -30,11 +30,11 @@ lazyqml/Interfaces/iModel.py,sha256=W_yYoZd7hS8ZKGvNAyl-waJ6f7F0kIM6zrg9WqyPt_I,
30
30
  lazyqml/Interfaces/iPreprocessing.py,sha256=O9f2tCnWTbjkHi4_XKaPWsE2SWKsdI1pj2lCyBWih9o,255
31
31
  lazyqml/Utils/Utils.py,sha256=JMmN1ilzNXTnhA5PZaMZvEVbtnKFYW50xUejWDLeAfM,10034
32
32
  lazyqml/Utils/Validator.py,sha256=6Ox2A5WAV5GYPuFfB873mpEqCHSmhhSwFV_LGI-ZJ5s,4622
33
- lazyqml-3.1.1.dist-info/AUTHORS.rst,sha256=Y_bDRslOAz5wcAYrTAnjDlmlW-51LfVF0Xwf09TbW3Y,245
34
- lazyqml-3.1.1.dist-info/LICENSE,sha256=42X2ZTCkjjhUks41WOjPmwX8sbCfgf431zzdCne6gqE,1079
35
- lazyqml-3.1.1.dist-info/LICENSE copy,sha256=y9EYvUN_l9ZWDuiVcxHE1NWbfy_HR9Z-8G19719ynbQ,1077
36
- lazyqml-3.1.1.dist-info/METADATA,sha256=rlTafOw02W26uKSrywjJ71HYspgJFwchlMjYGgq9kIM,4803
37
- lazyqml-3.1.1.dist-info/WHEEL,sha256=pxeNX5JdtCe58PUSYP9upmc7jdRPgvT0Gm9kb1SHlVw,109
38
- lazyqml-3.1.1.dist-info/entry_points.txt,sha256=I0WR08yVIeXjSa8XBSGZ9SsZtM8uMvKwZOdU1qQajao,45
39
- lazyqml-3.1.1.dist-info/top_level.txt,sha256=x2ffpytT-NeXmC7YaZLSQNMLK0pLfUiRmGOqwNbyjZE,8
40
- lazyqml-3.1.1.dist-info/RECORD,,
33
+ lazyqml-3.2.1.dist-info/AUTHORS.rst,sha256=Y_bDRslOAz5wcAYrTAnjDlmlW-51LfVF0Xwf09TbW3Y,245
34
+ lazyqml-3.2.1.dist-info/LICENSE,sha256=42X2ZTCkjjhUks41WOjPmwX8sbCfgf431zzdCne6gqE,1079
35
+ lazyqml-3.2.1.dist-info/LICENSE copy,sha256=y9EYvUN_l9ZWDuiVcxHE1NWbfy_HR9Z-8G19719ynbQ,1077
36
+ lazyqml-3.2.1.dist-info/METADATA,sha256=5ipf0F29TM0wH4sQX2C3Xr7EebXvZ8xueEr3aeadY9U,4838
37
+ lazyqml-3.2.1.dist-info/WHEEL,sha256=SrDKpSbFN1G94qcmBqS9nyHcDMp9cUS9OC06hC0G3G0,109
38
+ lazyqml-3.2.1.dist-info/entry_points.txt,sha256=I0WR08yVIeXjSa8XBSGZ9SsZtM8uMvKwZOdU1qQajao,45
39
+ lazyqml-3.2.1.dist-info/top_level.txt,sha256=x2ffpytT-NeXmC7YaZLSQNMLK0pLfUiRmGOqwNbyjZE,8
40
+ lazyqml-3.2.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any