lazyqml 3.0.0__py2.py3-none-any.whl → 3.0.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.
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.0.0"
5
+ __version__ = "3.0.1"
lazyqml/lazyqml.py CHANGED
@@ -2,20 +2,17 @@ import inspect
2
2
  import warnings
3
3
  import numpy as np
4
4
  import pandas as pd
5
- import sys
6
5
  from tabulate import tabulate
7
6
  from pydantic import BaseModel, Field, model_validator, field_validator, ValidationError, conset
8
7
  from pydantic.config import ConfigDict
9
8
  from typing import List, Callable, Optional, Set
10
9
  from typing_extensions import Annotated, Set
11
- from Factories.Preprocessing.fPreprocessing import PreprocessingFactory
12
- from Global.globalEnums import *
13
- from Utils.Utils import *
14
- from Utils.Validator import *
15
- from Factories.Dispatchers.Dispatcher import *
16
- from sklearn.impute import SimpleImputer
17
- from ucimlrepo import fetch_ucirepo
18
- from sklearn.preprocessing import LabelEncoder
10
+ from lazyqml.Factories.Preprocessing.fPreprocessing import PreprocessingFactory
11
+ from lazyqml.Global.globalEnums import *
12
+ from lazyqml.Utils.Utils import *
13
+ from lazyqml.Utils.Validator import *
14
+ from lazyqml.Factories.Dispatchers.Dispatcher import *
15
+
19
16
  from time import time
20
17
 
21
18
  class QuantumClassifier(BaseModel):
@@ -271,7 +268,7 @@ if __name__ == '__main__':
271
268
  repeats = 2
272
269
  embeddings = {Embedding.ZZ}
273
270
 
274
- classifier = QuantumClassifier(nqubits={4}, classifiers={Model.QSVM,Model.QNN},embeddings={Embedding.RX,Embedding.RY,Embedding.RZ},ansatzs={Ansatzs.HARDWARE_EFFICIENT},sequential=Sequential,backend=Backend.lightningQubit,cores=cores,threshold=22,epochs=5)
271
+ classifier = QuantumClassifier(nqubits={4})
275
272
 
276
273
  start = time()
277
274
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lazyqml
3
- Version: 3.0.0
3
+ Version: 3.0.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
@@ -1,5 +1,5 @@
1
- lazyqml/__init__.py,sha256=AO5qs-YuLME2DjkZikanGaXV4iBUKGlyBKDEUtbeyIg,242
2
- lazyqml/lazyqml.py,sha256=7MD8Jy7t9gEFZ2BluRBu8W1c-pFb-Elm2s9uHAWteqI,14703
1
+ lazyqml/__init__.py,sha256=g9K33RlGbJQgpwTVMrOxLAQ9tyDLyS2eQ9L2GLJQBiQ,242
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=P49rPc9aEK558yx8WYyzRGWfLuLCoJr_OjdOvWqDTbo,638
5
5
  lazyqml/Factories/Circuits/HCzRx.py,sha256=VQ4bCJ7_iAJ5d2mSRbpLqbEV3U8azinvdX2oZnXoA1M,1157
@@ -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=0p9T0ObTTb5_GfIxKNhjufvn9tbgSs-NdEvDrfbwZsQ,10026
32
32
  lazyqml/Utils/Validator.py,sha256=6Ox2A5WAV5GYPuFfB873mpEqCHSmhhSwFV_LGI-ZJ5s,4622
33
- lazyqml-3.0.0.dist-info/AUTHORS.rst,sha256=Y_bDRslOAz5wcAYrTAnjDlmlW-51LfVF0Xwf09TbW3Y,245
34
- lazyqml-3.0.0.dist-info/LICENSE,sha256=42X2ZTCkjjhUks41WOjPmwX8sbCfgf431zzdCne6gqE,1079
35
- lazyqml-3.0.0.dist-info/LICENSE copy,sha256=y9EYvUN_l9ZWDuiVcxHE1NWbfy_HR9Z-8G19719ynbQ,1077
36
- lazyqml-3.0.0.dist-info/METADATA,sha256=Kv_3g2Eb76x3PqbzsFM5r3vYvRvwdyQh9bDO3buCZDM,9615
37
- lazyqml-3.0.0.dist-info/WHEEL,sha256=pxeNX5JdtCe58PUSYP9upmc7jdRPgvT0Gm9kb1SHlVw,109
38
- lazyqml-3.0.0.dist-info/entry_points.txt,sha256=I0WR08yVIeXjSa8XBSGZ9SsZtM8uMvKwZOdU1qQajao,45
39
- lazyqml-3.0.0.dist-info/top_level.txt,sha256=x2ffpytT-NeXmC7YaZLSQNMLK0pLfUiRmGOqwNbyjZE,8
40
- lazyqml-3.0.0.dist-info/RECORD,,
33
+ lazyqml-3.0.1.dist-info/AUTHORS.rst,sha256=Y_bDRslOAz5wcAYrTAnjDlmlW-51LfVF0Xwf09TbW3Y,245
34
+ lazyqml-3.0.1.dist-info/LICENSE,sha256=42X2ZTCkjjhUks41WOjPmwX8sbCfgf431zzdCne6gqE,1079
35
+ lazyqml-3.0.1.dist-info/LICENSE copy,sha256=y9EYvUN_l9ZWDuiVcxHE1NWbfy_HR9Z-8G19719ynbQ,1077
36
+ lazyqml-3.0.1.dist-info/METADATA,sha256=IOarYiqCX1nzo88VHR_iubH997ykwISBfjbEiunJGEk,9615
37
+ lazyqml-3.0.1.dist-info/WHEEL,sha256=pxeNX5JdtCe58PUSYP9upmc7jdRPgvT0Gm9kb1SHlVw,109
38
+ lazyqml-3.0.1.dist-info/entry_points.txt,sha256=I0WR08yVIeXjSa8XBSGZ9SsZtM8uMvKwZOdU1qQajao,45
39
+ lazyqml-3.0.1.dist-info/top_level.txt,sha256=x2ffpytT-NeXmC7YaZLSQNMLK0pLfUiRmGOqwNbyjZE,8
40
+ lazyqml-3.0.1.dist-info/RECORD,,