-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimulating.py
More file actions
31 lines (21 loc) · 860 Bytes
/
simulating.py
File metadata and controls
31 lines (21 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from quantumsimulationlab.twins import Twins
coupling_types: list[str] = ["transverse", "longitudinal", "hybrid"]
epsilon_list: list[float] = [0.0, 0.2, 0.4, 0.6, 0.8, 1.0]
A_list: list[float] = [1.0, 2.0, 3.0, 4.0, 5.0]
def main() -> None:
for coupling_type in coupling_types:
for epsilon in epsilon_list:
for A in A_list:
twins = Twins(
epsilon=epsilon,
A=A,
coupling_type=coupling_type,
show=False
)
twins.create_directories()
rho_ts, photon_lists = twins.run_simulation()
twins.qnd_analysis(rho_ts=rho_ts)
twins.photon_analysis(photon_lists=photon_lists)
twins.wigner_analysis(rho_ts=rho_ts)
if __name__ == "__main__":
main()