Coverage for jaxquantum/circuits/library/sbs/parameters.py: 100%
4 statements
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-27 22:28 +0000
« prev ^ index » next coverage.py v7.15.4, created at 2026-08-27 22:28 +0000
1"""Named parameter sets for reproducible sBs simulations."""
3from math import pi
5__all__ = ("GKP_JULY30", "PARAMETER_SETS")
8GKP_JULY30 = {
9 "device": {
10 "storage_t1": 90.96363465452683e-6,
11 "storage_tphi": 1.080e-3,
12 "storage_nbar": 0.0,
13 "qubit_t1": 438.2766324140162e-6,
14 "qubit_t1_cd": 56.38e-6,
15 "qubit_tphi": 1 / (1 / 51.56110574223823e-6 - 1 / (2 * 438.2766324140162e-6)),
16 "qubit_excited_population": 0.0,
17 "qubit_cd_excited_population": 0.5,
18 "cd_durations": (416e-9, 2.504e-6, 536e-9),
19 "rotation_durations": (144e-9,) * 4,
20 "reset_duration": 324e-9,
21 "reset_error": 0.01,
22 },
23 "control": {
24 "state_delta": 0.438,
25 "delta": 0.42,
26 "small_ratio": 1.3,
27 "small_displacement_scales": (
28 0.868641814887524,
29 1.1443416709546,
30 ),
31 "big_displacement": 2.5062270435214,
32 "epsilon_model": "quadratic",
33 "final_storage_rotation": 2 * pi * (-1.66112496703863 / 360),
34 "alternate_cd_direction": True,
35 "max_alpha": 7.7,
36 },
37 "timing": {
38 "cd_delay_ns": (40, 1084, 100),
39 "storage_displacement_pulse_ns": 40,
40 "cd_pi_padding_ns": 16,
41 "qubit_pi_pulse_ns": 144,
42 "reset_components_ns": (176, 48, 100),
43 "stabilizer_us": 4.356,
44 "four_way_round_us": 17.424,
45 },
46 "provenance": {
47 "coherence": (
48 "July 30 device snapshot; storage Tphi=1.08 ms was fixed because "
49 "the fresh fit was unresolved"
50 ),
51 "control": "run_gkp_lifetime_measurement BEST_GKP_LIFETIME_CONTROL",
52 "timing": "gkp.py formulas with the July 30/31 D9 pulse snapshot",
53 "qubit_t1_cd": (
54 "56.38 +/- 1.43 us population-contrast lifetime measured at the "
55 "big-CD operating point; applied to all three CDs"
56 ),
57 "qubit_cd_excited_population": (
58 "repeated-ECD steady state was approximately one half"
59 ),
60 "reset_error": "1% sensitivity assumption; reset duration is measured",
61 },
62}
65PARAMETER_SETS = {"gkp_july30": GKP_JULY30}