Trajectree 0.0.3__py3-none-any.whl → 0.0.4__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.
- trajectree/sequence/swap.py +2 -2
- {trajectree-0.0.3.dist-info → trajectree-0.0.4.dist-info}/METADATA +1 -1
- {trajectree-0.0.3.dist-info → trajectree-0.0.4.dist-info}/RECORD +6 -6
- {trajectree-0.0.3.dist-info → trajectree-0.0.4.dist-info}/WHEEL +0 -0
- {trajectree-0.0.3.dist-info → trajectree-0.0.4.dist-info}/licenses/LICENSE +0 -0
- {trajectree-0.0.3.dist-info → trajectree-0.0.4.dist-info}/top_level.txt +0 -0
trajectree/sequence/swap.py
CHANGED
|
@@ -30,7 +30,7 @@ def generate_swapping_circuit(N, num_modes, site_tags, bsm_det_effs, bsm_dark_co
|
|
|
30
30
|
def analyze_entanglement(quantum_channel_list, N, site_tags, num_modes, efficiency, error_tolerance, idler_angles, signal_angles):
|
|
31
31
|
PA_MPOs = rotate_and_measure(None, N, site_tags, num_modes, efficiency, error_tolerance, idler_angles, signal_angles, return_MPOs = True)
|
|
32
32
|
PA_quantum_channels = [quantum_channel(N = N, num_modes = num_modes, formalism = "closed", unitary_MPOs = PA_MPO) for PA_MPO in PA_MPOs]
|
|
33
|
-
print("num pa quantum channels:", len(PA_quantum_channels))
|
|
33
|
+
# print("num pa quantum channels:", len(PA_quantum_channels))
|
|
34
34
|
quantum_channel_list.extend(PA_quantum_channels)
|
|
35
35
|
|
|
36
36
|
|
|
@@ -71,7 +71,7 @@ def perform_swapping_simulation(N, num_modes, num_simulations, params, error_tol
|
|
|
71
71
|
time_taken = time.time() - start
|
|
72
72
|
# print("time taken for simulation", i, ":", time_taken)
|
|
73
73
|
|
|
74
|
-
print("completed set", "cache_hits:", t_eval.cache_hit, "cache_partial_hits:", t_eval.cache_partial_hit, "cache_misses:", t_eval.cache_miss, "time taken:", time_taken)
|
|
74
|
+
# print("completed set", "cache_hits:", t_eval.cache_hit, "cache_partial_hits:", t_eval.cache_partial_hit, "cache_misses:", t_eval.cache_miss, "time taken:", time_taken)
|
|
75
75
|
|
|
76
76
|
return fidelities, probabilities, t_eval
|
|
77
77
|
|
|
@@ -8,9 +8,9 @@ trajectree/fock_optics/measurement.py,sha256=n5syDcy8i_jYmPzAOV26wDg-Z98X0w_y5Mm
|
|
|
8
8
|
trajectree/fock_optics/noise_models.py,sha256=nyU_jNqjJkkcafq7vIXI8IRDiwthiOr4ZQqf55knZMM,1895
|
|
9
9
|
trajectree/fock_optics/outputs.py,sha256=EMhs2gCwz6giLRyM09zxOLrpdbEuSG9axB4FFw6fuF4,2475
|
|
10
10
|
trajectree/fock_optics/utils.py,sha256=iIz4DUluzpmW_sk1IlBeNYCiWZd6_eTi6I1p93DGt8U,7172
|
|
11
|
-
trajectree/sequence/swap.py,sha256=
|
|
12
|
-
trajectree-0.0.
|
|
13
|
-
trajectree-0.0.
|
|
14
|
-
trajectree-0.0.
|
|
15
|
-
trajectree-0.0.
|
|
16
|
-
trajectree-0.0.
|
|
11
|
+
trajectree/sequence/swap.py,sha256=_6KQyjGDp0Nf07GZVMi52CmFlDKanUk3hXe5kMDetm8,4382
|
|
12
|
+
trajectree-0.0.4.dist-info/licenses/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
|
13
|
+
trajectree-0.0.4.dist-info/METADATA,sha256=8y0dK7gLZyJ_uuRBHf8QVBE4REVOkmdSSwcBxC7MKvU,611
|
|
14
|
+
trajectree-0.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
15
|
+
trajectree-0.0.4.dist-info/top_level.txt,sha256=6x9i8aAZcVn5tZ9J-2IVQMTGdn4bw6DiSd8pR3v4VR8,11
|
|
16
|
+
trajectree-0.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|