QuLab 2.10.8__cp312-cp312-win_amd64.whl → 2.10.10__cp312-cp312-win_amd64.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 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 处理默认值
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.8"
1
+ __version__ = "2.10.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: QuLab
3
- Version: 2.10.8
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=-tTI2n3lAFU3sRFEu-Z_ihgiHbyyaQeuLDWfLFHlPvc,416
1
+ qulab/__init__.py,sha256=SH37FtgS2bJcM5G5-BzwZ0EGK08vnv51YS450XENrv0,2060
2
2
  qulab/__main__.py,sha256=FL4YsGZL1jEtmcPc5WbleArzhOHLMsWl7OH3O-1d1ss,72
3
3
  qulab/dicttree.py,sha256=hYjVWjNYFmtzMWcIjIH6NJNDzpIW-g4TZbn2EBarpzg,14759
4
4
  qulab/expression.py,sha256=XuB3Au582g5OhxprvKmZkF4ctvqBUsEVOpGAFzcS_uA,26578
5
- qulab/fun.cp312-win_amd64.pyd,sha256=HOqjQUoov_yuwG5XUBbZHahXxrmf3DbSHRX4pvL1DLE,32256
5
+ qulab/fun.cp312-win_amd64.pyd,sha256=o2EAi_GI_zmp9ccJHb8YwbpqKL-l7qHA2z8xb6lYaAk,32256
6
6
  qulab/typing.py,sha256=PRtwbCHWY2ROKK8GHq4Bo8llXrIGo6xC73DrQf7S9os,71
7
7
  qulab/utils.py,sha256=65N2Xj7kqRsQ4epoLNY6tL-i5ts6Wk8YuJYee3Te6zI,3077
8
- qulab/version.py,sha256=v1ULYkz4y1F6VU70svKTuocAXtwJT06U9uYHUyHkGVA,22
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=ZTs32yQjvwPIsFjXYWNr4KqEvly0NISIqyh--96qCAY,627
11
- qulab/cli/config.py,sha256=A3UnyaRtiofpokyzYkJnUdwzcsYX7H-xZvBVduIOSdg,5617
11
+ qulab/cli/config.py,sha256=c8AS35o_jMffL-qmwSpHrCo65sPone34JNxrrQbVyL0,5629
12
12
  qulab/cli/decorators.py,sha256=mgAZiiaj2vZvsJEg70gxgB9TWkxR1nQSb2m-73RYHr0,649
13
13
  qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
14
14
  qulab/executor/analyze.py,sha256=VoSthE2RTarY6Wj3QFKh4FqReMYL7djSAyuitgHs5K0,5837
@@ -25,7 +25,7 @@ qulab/monitor/config.py,sha256=y_5StMkdrbZO1ziyKBrvIkB7Jclp9RCPK1QbsOhCxnY,785
25
25
  qulab/monitor/dataset.py,sha256=199kx7A08XKDnUN8MUZ7Cl4bWf52M0Mx7jrZLRyTwhw,2532
26
26
  qulab/monitor/event_queue.py,sha256=0fj-iP4g6rKaxyom-bL-NoecwPe48V1LlVLoRuGgX_Q,1877
27
27
  qulab/monitor/mainwindow.py,sha256=qqw7O9PTTrPjKgZAi7fS14S-fylTK9pzO1tAXtaNNAA,8033
28
- qulab/monitor/monitor.py,sha256=2AP-hhg1T6-38mieDm5_ONTIXnXYlIrSyOiAOxDKy0I,2398
28
+ qulab/monitor/monitor.py,sha256=yPgUG1_hNbqdFJWyMSepf5-Xayq9hOFdEq_o9pDLUrM,2912
29
29
  qulab/monitor/ploter.py,sha256=dg7W28XTwEbBxHVtdPkFV135OQgoQwTi-NJCZQF-HYU,3724
30
30
  qulab/monitor/qt_compat.py,sha256=Eq7zlA4_XstB92NhtAqebtWU_Btw4lcwFO30YxZ-TPE,804
31
31
  qulab/monitor/toolbar.py,sha256=HxqG6ywKFyQJM2Q1s7SnhuzjbyeROczAZKwxztD1WJ8,8213
@@ -99,9 +99,9 @@ qulab/visualization/plot_seq.py,sha256=Uo1-dB1YE9IN_A9tuaOs9ZG3S5dKDQ_l98iD2Wbxp
99
99
  qulab/visualization/qdat.py,sha256=HubXFu4nfcA7iUzghJGle1C86G6221hicLR0b-GqhKQ,5887
100
100
  qulab/visualization/rot3d.py,sha256=jGHJcqj1lEWBUV-W4GUGONGacqjrYvuFoFCwPse5h1Y,757
101
101
  qulab/visualization/widgets.py,sha256=HcYwdhDtLreJiYaZuN3LfofjJmZcLwjMfP5aasebgDo,3266
102
- qulab-2.10.8.dist-info/licenses/LICENSE,sha256=b4NRQ-GFVpJMT7RuExW3NwhfbrYsX7AcdB7Gudok-fs,1086
103
- qulab-2.10.8.dist-info/METADATA,sha256=YQFBOKy2pr8hS68tZIJPvplPQ2pAKDEaaMYX8SAYvoQ,3860
104
- qulab-2.10.8.dist-info/WHEEL,sha256=YvQgr19VPpDKcQ70xCXIWyDmGnURmFmzZpp_Uw5rBS8,101
105
- qulab-2.10.8.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
106
- qulab-2.10.8.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
107
- qulab-2.10.8.dist-info/RECORD,,
102
+ qulab-2.10.10.dist-info/licenses/LICENSE,sha256=b4NRQ-GFVpJMT7RuExW3NwhfbrYsX7AcdB7Gudok-fs,1086
103
+ qulab-2.10.10.dist-info/METADATA,sha256=FUoRWm7CqGTaxf9d8XGIPMKXgVCcPGSuVhnarI9jOwo,3948
104
+ qulab-2.10.10.dist-info/WHEEL,sha256=VryZucl_XSB78oskhQFN0jfmderyetLlP0R6bZqf7Ys,101
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.0)
2
+ Generator: setuptools (80.3.1)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-win_amd64
5
5