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 +1 -1
- lazyqml/lazyqml.py +7 -10
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/METADATA +1 -1
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/RECORD +10 -10
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/AUTHORS.rst +0 -0
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/LICENSE +0 -0
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/LICENSE copy +0 -0
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/WHEEL +0 -0
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/entry_points.txt +0 -0
- {lazyqml-3.0.0.dist-info → lazyqml-3.0.1.dist-info}/top_level.txt +0 -0
lazyqml/__init__.py
CHANGED
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
|
-
|
|
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}
|
|
271
|
+
classifier = QuantumClassifier(nqubits={4})
|
|
275
272
|
|
|
276
273
|
start = time()
|
|
277
274
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
lazyqml/__init__.py,sha256=
|
|
2
|
-
lazyqml/lazyqml.py,sha256=
|
|
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.
|
|
34
|
-
lazyqml-3.0.
|
|
35
|
-
lazyqml-3.0.
|
|
36
|
-
lazyqml-3.0.
|
|
37
|
-
lazyqml-3.0.
|
|
38
|
-
lazyqml-3.0.
|
|
39
|
-
lazyqml-3.0.
|
|
40
|
-
lazyqml-3.0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|