QuLab 2.10.8__cp312-cp312-macosx_10_13_universal2.whl → 2.10.10__cp312-cp312-macosx_10_13_universal2.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.
- qulab/__init__.py +24 -0
- qulab/cli/config.py +2 -2
- qulab/fun.cpython-312-darwin.so +0 -0
- qulab/monitor/monitor.py +22 -0
- qulab/version.py +1 -1
- {qulab-2.10.8.dist-info → qulab-2.10.10.dist-info}/METADATA +4 -1
- {qulab-2.10.8.dist-info → qulab-2.10.10.dist-info}/RECORD +11 -11
- {qulab-2.10.8.dist-info → qulab-2.10.10.dist-info}/WHEEL +1 -1
- {qulab-2.10.8.dist-info → qulab-2.10.10.dist-info}/entry_points.txt +0 -0
- {qulab-2.10.8.dist-info → qulab-2.10.10.dist-info}/licenses/LICENSE +0 -0
- {qulab-2.10.8.dist-info → qulab-2.10.10.dist-info}/top_level.txt +0 -0
qulab/__init__.py
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
from qlisp import (CR, CX, CZ, SWAP, A, B, BellPhiM, BellPhiP, BellPsiM,
|
2
|
+
BellPsiP, H, S, Sdag, SQiSWAP, T, Tdag, U, Unitary2Angles,
|
3
|
+
applySeq, draw, fSim, iSWAP, kak_decomposition, kak_vector,
|
4
|
+
make_immutable, measure, phiminus, phiplus, psiminus,
|
5
|
+
psiplus, regesterGateMatrix, rfUnitary, seq2mat, sigmaI,
|
6
|
+
sigmaM, sigmaP, sigmaX, sigmaY, sigmaZ,
|
7
|
+
synchronize_global_phase)
|
8
|
+
from qlispc import (COMMAND, FREE, NOTSET, PUSH, READ, SYNC, TRIG, WRITE,
|
9
|
+
compile, get_arch, libraries, mapping_qubits,
|
10
|
+
register_arch)
|
11
|
+
from qlispc.kernel_utils import qcompile
|
12
|
+
from wath import (Interval, Primes, Transmon, Z2probs, complex_amp_to_real,
|
13
|
+
effective_temperature, exception, find_axis_of_symmetry,
|
14
|
+
find_center_of_symmetry, find_cross_point, fit_circle,
|
15
|
+
fit_cosine, fit_k, fit_max, fit_peaks, fit_pole, getFTMatrix,
|
16
|
+
graph, inv_poly, lin_fit, point_in_ellipse, point_in_polygon,
|
17
|
+
point_on_ellipse, point_on_segment, poly_fit, probs2Z,
|
18
|
+
relative_delay_to_absolute, thermal_excitation, viterbi_hmm)
|
19
|
+
from waveforms import (D, chirp, const, cos, cosh, coshPulse, cosPulse, cut,
|
20
|
+
drag, drag_sin, drag_sinx, exp, function, gaussian,
|
21
|
+
general_cosine, hanning, interp, mixing, one, poly,
|
22
|
+
registerBaseFunc, registerDerivative, samplingPoints,
|
23
|
+
sign, sin, sinc, sinh, square, step, t, wave_eval, zero)
|
24
|
+
|
1
25
|
from .executor.analyze import manual_analysis
|
2
26
|
from .executor.registry import Registry
|
3
27
|
from .executor.storage import find_report
|
qulab/cli/config.py
CHANGED
@@ -29,7 +29,7 @@ def _get_config_value(option_name,
|
|
29
29
|
if type_cast is bool:
|
30
30
|
return env_value.lower() in ("true", "1", "yes")
|
31
31
|
if "path" in option_name or issubclass(type_cast, Path):
|
32
|
-
return os.path.expanduser(env_value)
|
32
|
+
return Path(os.path.expanduser(env_value))
|
33
33
|
return type_cast(env_value)
|
34
34
|
|
35
35
|
# 2. 检查配置文件
|
@@ -47,7 +47,7 @@ def _get_config_value(option_name,
|
|
47
47
|
if type_cast is bool:
|
48
48
|
return config_value.lower() in ("true", "1", "yes")
|
49
49
|
if "path" in option_name or issubclass(type_cast, Path):
|
50
|
-
return os.path.expanduser(config_value)
|
50
|
+
return Path(os.path.expanduser(config_value))
|
51
51
|
return type_cast(config_value)
|
52
52
|
|
53
53
|
return default # 交给 Click 处理默认值
|
qulab/fun.cpython-312-darwin.so
CHANGED
Binary file
|
qulab/monitor/monitor.py
CHANGED
@@ -91,3 +91,25 @@ def get_monitor(auto_open=True):
|
|
91
91
|
_monitor = Monitor()
|
92
92
|
|
93
93
|
return _monitor
|
94
|
+
|
95
|
+
|
96
|
+
if __name__ == "__main__":
|
97
|
+
import time
|
98
|
+
|
99
|
+
import numpy as np
|
100
|
+
|
101
|
+
for i in range(3):
|
102
|
+
index = 0
|
103
|
+
while True:
|
104
|
+
if index >= 100:
|
105
|
+
break
|
106
|
+
|
107
|
+
m = get_monitor()
|
108
|
+
|
109
|
+
if index == 0:
|
110
|
+
m.set_column_names("index", "H", "S")
|
111
|
+
m.set_plots("(index,H);(index,S)")
|
112
|
+
m.roll()
|
113
|
+
m.add_point(index, np.random.randn(), np.sin(index / 20))
|
114
|
+
index += 1
|
115
|
+
time.sleep(0.2)
|
qulab/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "2.10.
|
1
|
+
__version__ = "2.10.10"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: QuLab
|
3
|
-
Version: 2.10.
|
3
|
+
Version: 2.10.10
|
4
4
|
Summary: contral instruments and manage data
|
5
5
|
Author-email: feihoo87 <feihoo87@gmail.com>
|
6
6
|
Maintainer-email: feihoo87 <feihoo87@gmail.com>
|
@@ -38,10 +38,13 @@ Requires-Dist: numpy>=1.13.3
|
|
38
38
|
Requires-Dist: ply>=3.11
|
39
39
|
Requires-Dist: pyperclip>=1.8.2
|
40
40
|
Requires-Dist: pyzmq>=25.1.0
|
41
|
+
Requires-Dist: qlisp>=1.1.4
|
42
|
+
Requires-Dist: qlispc>=1.1.8
|
41
43
|
Requires-Dist: scipy>=1.0.0
|
42
44
|
Requires-Dist: scikit-optimize>=0.9.0
|
43
45
|
Requires-Dist: SQLAlchemy>=2.0.19
|
44
46
|
Requires-Dist: watchdog>=4.0.0
|
47
|
+
Requires-Dist: wath>=1.1.6
|
45
48
|
Requires-Dist: waveforms>=1.9.4
|
46
49
|
Provides-Extra: full
|
47
50
|
Requires-Dist: uvloop>=0.19.0; extra == "full"
|
@@ -1,14 +1,14 @@
|
|
1
|
-
qulab/__init__.py,sha256=
|
1
|
+
qulab/__init__.py,sha256=hmf6R3jiM5NtJY1mSptogYnH5DMTR2dTzlXykqLxQzg,2027
|
2
2
|
qulab/__main__.py,sha256=fjaRSL_uUjNIzBGNgjlGswb9TJ2VD5qnkZHW3hItrD4,68
|
3
3
|
qulab/dicttree.py,sha256=QNClEGRFRFJIgAq9bUyxK4iPbkNRdZDona8UZq9jDfw,14236
|
4
4
|
qulab/expression.py,sha256=ZnTepyvhG2DUdOvCCny8jbeNCsvYi6G4xjdr05HxLuE,25751
|
5
|
-
qulab/fun.cpython-312-darwin.so,sha256=
|
5
|
+
qulab/fun.cpython-312-darwin.so,sha256=0R38tBjoOpAzTvv6dVv_M1xGCf9htyjSkTQKkqbHFag,126864
|
6
6
|
qulab/typing.py,sha256=vg62sGqxuD9CI5677ejlzAmf2fVdAESZCQjAE_xSxPg,69
|
7
7
|
qulab/utils.py,sha256=BdLdlfjpe6m6gSeONYmpAKTTqxDaYHNk4exlz8kZxTg,2982
|
8
|
-
qulab/version.py,sha256=
|
8
|
+
qulab/version.py,sha256=iMPctba7Zmc8k76pU7WvVtu7ECCARmwVtsbglGDvCSg,23
|
9
9
|
qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
qulab/cli/commands.py,sha256=F1LATmSC9lOAdnrOTMK7DRjETCEcOmMsocovWRyjWTc,597
|
11
|
-
qulab/cli/config.py,sha256=
|
11
|
+
qulab/cli/config.py,sha256=tZPSBLbf2x_Brb2UBuA1bsni8nC8WOPPGyWIi8m7j1I,5459
|
12
12
|
qulab/cli/decorators.py,sha256=oImteZVnDPPWdyhJ4kzf2KYGJLON7VsKGBvZadWLQZo,621
|
13
13
|
qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
|
14
14
|
qulab/executor/analyze.py,sha256=4Hau5LrKUdpweh7W94tcG4ahgxucHOevbM0hm57T7zE,5649
|
@@ -25,7 +25,7 @@ qulab/monitor/config.py,sha256=fQ5JcsMApKc1UwANEnIvbDQZl8uYW0tle92SaYtX9lI,744
|
|
25
25
|
qulab/monitor/dataset.py,sha256=C4wZU-XqYHY1ysvUGSF5958M_GANrXW-f1SHnruHJno,2455
|
26
26
|
qulab/monitor/event_queue.py,sha256=o66jOTKJmJibt-bhYFjk5p_rExxu-hdoR_BfR8PMN3I,1823
|
27
27
|
qulab/monitor/mainwindow.py,sha256=Bme7YKg2LQSpRH6cg8rcFhdnxUU_d_F4b6TIvPVAbx4,7799
|
28
|
-
qulab/monitor/monitor.py,sha256=
|
28
|
+
qulab/monitor/monitor.py,sha256=Nt6IH51hhDcVmY2NNUlwk5G4rlgnBbsh4w5xpCuYkak,2797
|
29
29
|
qulab/monitor/ploter.py,sha256=CbiIjmohgtwDDTVeGzhXEGVo3XjytMdhLwU9VUkg9vo,3601
|
30
30
|
qulab/monitor/qt_compat.py,sha256=OK71_JSO_iyXjRIKHANmaK4Lx4bILUzmXI-mwKg3QeI,788
|
31
31
|
qulab/monitor/toolbar.py,sha256=WEag6cxAtEsOLL14XvM7pSE56EA3MO188_JuprNjdBs,7948
|
@@ -99,9 +99,9 @@ qulab/visualization/plot_seq.py,sha256=UWTS6p9nfX_7B8ehcYo6UnSTUCjkBsNU9jiOeW2ca
|
|
99
99
|
qulab/visualization/qdat.py,sha256=ZeevBYWkzbww4xZnsjHhw7wRorJCBzbG0iEu-XQB4EA,5735
|
100
100
|
qulab/visualization/rot3d.py,sha256=lMrEJlRLwYe6NMBlGkKYpp_V9CTipOAuDy6QW_cQK00,734
|
101
101
|
qulab/visualization/widgets.py,sha256=6KkiTyQ8J-ei70LbPQZAK35wjktY47w2IveOa682ftA,3180
|
102
|
-
qulab-2.10.
|
103
|
-
qulab-2.10.
|
104
|
-
qulab-2.10.
|
105
|
-
qulab-2.10.
|
106
|
-
qulab-2.10.
|
107
|
-
qulab-2.10.
|
102
|
+
qulab-2.10.10.dist-info/licenses/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
|
103
|
+
qulab-2.10.10.dist-info/METADATA,sha256=_ghsTiQ7CREyqxeELK_QDWOXenuL9wbfBichRzh544c,3838
|
104
|
+
qulab-2.10.10.dist-info/WHEEL,sha256=vnYUKnPde4to3ozFUPH5KYJ05a29VDPPy1RlPI0R6Ao,115
|
105
|
+
qulab-2.10.10.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
|
106
|
+
qulab-2.10.10.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
|
107
|
+
qulab-2.10.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|