Trajectree 0.0.1__py3-none-any.whl → 0.0.3__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/__init__.py +0 -3
- trajectree/fock_optics/devices.py +1 -1
- trajectree/fock_optics/light_sources.py +2 -2
- trajectree/fock_optics/measurement.py +9 -9
- trajectree/fock_optics/outputs.py +10 -6
- trajectree/fock_optics/utils.py +9 -6
- trajectree/sequence/swap.py +5 -4
- trajectree/trajectory.py +5 -4
- {trajectree-0.0.1.dist-info → trajectree-0.0.3.dist-info}/METADATA +2 -3
- trajectree-0.0.3.dist-info/RECORD +16 -0
- trajectree/quimb/docs/_pygments/_pygments_dark.py +0 -118
- trajectree/quimb/docs/_pygments/_pygments_light.py +0 -118
- trajectree/quimb/docs/conf.py +0 -158
- trajectree/quimb/docs/examples/ex_mpi_expm_evo.py +0 -62
- trajectree/quimb/quimb/__init__.py +0 -507
- trajectree/quimb/quimb/calc.py +0 -1491
- trajectree/quimb/quimb/core.py +0 -2279
- trajectree/quimb/quimb/evo.py +0 -712
- trajectree/quimb/quimb/experimental/__init__.py +0 -0
- trajectree/quimb/quimb/experimental/autojittn.py +0 -129
- trajectree/quimb/quimb/experimental/belief_propagation/__init__.py +0 -109
- trajectree/quimb/quimb/experimental/belief_propagation/bp_common.py +0 -397
- trajectree/quimb/quimb/experimental/belief_propagation/d1bp.py +0 -316
- trajectree/quimb/quimb/experimental/belief_propagation/d2bp.py +0 -653
- trajectree/quimb/quimb/experimental/belief_propagation/hd1bp.py +0 -571
- trajectree/quimb/quimb/experimental/belief_propagation/hv1bp.py +0 -775
- trajectree/quimb/quimb/experimental/belief_propagation/l1bp.py +0 -316
- trajectree/quimb/quimb/experimental/belief_propagation/l2bp.py +0 -537
- trajectree/quimb/quimb/experimental/belief_propagation/regions.py +0 -194
- trajectree/quimb/quimb/experimental/cluster_update.py +0 -286
- trajectree/quimb/quimb/experimental/merabuilder.py +0 -865
- trajectree/quimb/quimb/experimental/operatorbuilder/__init__.py +0 -15
- trajectree/quimb/quimb/experimental/operatorbuilder/operatorbuilder.py +0 -1631
- trajectree/quimb/quimb/experimental/schematic.py +0 -7
- trajectree/quimb/quimb/experimental/tn_marginals.py +0 -130
- trajectree/quimb/quimb/experimental/tnvmc.py +0 -1483
- trajectree/quimb/quimb/gates.py +0 -36
- trajectree/quimb/quimb/gen/__init__.py +0 -2
- trajectree/quimb/quimb/gen/operators.py +0 -1167
- trajectree/quimb/quimb/gen/rand.py +0 -713
- trajectree/quimb/quimb/gen/states.py +0 -479
- trajectree/quimb/quimb/linalg/__init__.py +0 -6
- trajectree/quimb/quimb/linalg/approx_spectral.py +0 -1109
- trajectree/quimb/quimb/linalg/autoblock.py +0 -258
- trajectree/quimb/quimb/linalg/base_linalg.py +0 -719
- trajectree/quimb/quimb/linalg/mpi_launcher.py +0 -397
- trajectree/quimb/quimb/linalg/numpy_linalg.py +0 -244
- trajectree/quimb/quimb/linalg/rand_linalg.py +0 -514
- trajectree/quimb/quimb/linalg/scipy_linalg.py +0 -293
- trajectree/quimb/quimb/linalg/slepc_linalg.py +0 -892
- trajectree/quimb/quimb/schematic.py +0 -1518
- trajectree/quimb/quimb/tensor/__init__.py +0 -401
- trajectree/quimb/quimb/tensor/array_ops.py +0 -610
- trajectree/quimb/quimb/tensor/circuit.py +0 -4824
- trajectree/quimb/quimb/tensor/circuit_gen.py +0 -411
- trajectree/quimb/quimb/tensor/contraction.py +0 -336
- trajectree/quimb/quimb/tensor/decomp.py +0 -1255
- trajectree/quimb/quimb/tensor/drawing.py +0 -1646
- trajectree/quimb/quimb/tensor/fitting.py +0 -385
- trajectree/quimb/quimb/tensor/geometry.py +0 -583
- trajectree/quimb/quimb/tensor/interface.py +0 -114
- trajectree/quimb/quimb/tensor/networking.py +0 -1058
- trajectree/quimb/quimb/tensor/optimize.py +0 -1818
- trajectree/quimb/quimb/tensor/tensor_1d.py +0 -4778
- trajectree/quimb/quimb/tensor/tensor_1d_compress.py +0 -1854
- trajectree/quimb/quimb/tensor/tensor_1d_tebd.py +0 -662
- trajectree/quimb/quimb/tensor/tensor_2d.py +0 -5954
- trajectree/quimb/quimb/tensor/tensor_2d_compress.py +0 -96
- trajectree/quimb/quimb/tensor/tensor_2d_tebd.py +0 -1230
- trajectree/quimb/quimb/tensor/tensor_3d.py +0 -2869
- trajectree/quimb/quimb/tensor/tensor_3d_tebd.py +0 -46
- trajectree/quimb/quimb/tensor/tensor_approx_spectral.py +0 -60
- trajectree/quimb/quimb/tensor/tensor_arbgeom.py +0 -3237
- trajectree/quimb/quimb/tensor/tensor_arbgeom_compress.py +0 -565
- trajectree/quimb/quimb/tensor/tensor_arbgeom_tebd.py +0 -1138
- trajectree/quimb/quimb/tensor/tensor_builder.py +0 -5411
- trajectree/quimb/quimb/tensor/tensor_core.py +0 -11179
- trajectree/quimb/quimb/tensor/tensor_dmrg.py +0 -1472
- trajectree/quimb/quimb/tensor/tensor_mera.py +0 -204
- trajectree/quimb/quimb/utils.py +0 -892
- trajectree/quimb/tests/__init__.py +0 -0
- trajectree/quimb/tests/test_accel.py +0 -501
- trajectree/quimb/tests/test_calc.py +0 -788
- trajectree/quimb/tests/test_core.py +0 -847
- trajectree/quimb/tests/test_evo.py +0 -565
- trajectree/quimb/tests/test_gen/__init__.py +0 -0
- trajectree/quimb/tests/test_gen/test_operators.py +0 -361
- trajectree/quimb/tests/test_gen/test_rand.py +0 -296
- trajectree/quimb/tests/test_gen/test_states.py +0 -261
- trajectree/quimb/tests/test_linalg/__init__.py +0 -0
- trajectree/quimb/tests/test_linalg/test_approx_spectral.py +0 -368
- trajectree/quimb/tests/test_linalg/test_base_linalg.py +0 -351
- trajectree/quimb/tests/test_linalg/test_mpi_linalg.py +0 -127
- trajectree/quimb/tests/test_linalg/test_numpy_linalg.py +0 -84
- trajectree/quimb/tests/test_linalg/test_rand_linalg.py +0 -134
- trajectree/quimb/tests/test_linalg/test_slepc_linalg.py +0 -283
- trajectree/quimb/tests/test_tensor/__init__.py +0 -0
- trajectree/quimb/tests/test_tensor/test_belief_propagation/__init__.py +0 -0
- trajectree/quimb/tests/test_tensor/test_belief_propagation/test_d1bp.py +0 -39
- trajectree/quimb/tests/test_tensor/test_belief_propagation/test_d2bp.py +0 -67
- trajectree/quimb/tests/test_tensor/test_belief_propagation/test_hd1bp.py +0 -64
- trajectree/quimb/tests/test_tensor/test_belief_propagation/test_hv1bp.py +0 -51
- trajectree/quimb/tests/test_tensor/test_belief_propagation/test_l1bp.py +0 -142
- trajectree/quimb/tests/test_tensor/test_belief_propagation/test_l2bp.py +0 -101
- trajectree/quimb/tests/test_tensor/test_circuit.py +0 -816
- trajectree/quimb/tests/test_tensor/test_contract.py +0 -67
- trajectree/quimb/tests/test_tensor/test_decomp.py +0 -40
- trajectree/quimb/tests/test_tensor/test_mera.py +0 -52
- trajectree/quimb/tests/test_tensor/test_optimizers.py +0 -488
- trajectree/quimb/tests/test_tensor/test_tensor_1d.py +0 -1171
- trajectree/quimb/tests/test_tensor/test_tensor_2d.py +0 -606
- trajectree/quimb/tests/test_tensor/test_tensor_2d_tebd.py +0 -144
- trajectree/quimb/tests/test_tensor/test_tensor_3d.py +0 -123
- trajectree/quimb/tests/test_tensor/test_tensor_arbgeom.py +0 -226
- trajectree/quimb/tests/test_tensor/test_tensor_builder.py +0 -441
- trajectree/quimb/tests/test_tensor/test_tensor_core.py +0 -2066
- trajectree/quimb/tests/test_tensor/test_tensor_dmrg.py +0 -388
- trajectree/quimb/tests/test_tensor/test_tensor_spectral_approx.py +0 -63
- trajectree/quimb/tests/test_tensor/test_tensor_tebd.py +0 -270
- trajectree/quimb/tests/test_utils.py +0 -85
- trajectree-0.0.1.dist-info/RECORD +0 -126
- {trajectree-0.0.1.dist-info → trajectree-0.0.3.dist-info}/WHEEL +0 -0
- {trajectree-0.0.1.dist-info → trajectree-0.0.3.dist-info}/licenses/LICENSE +0 -0
- {trajectree-0.0.1.dist-info → trajectree-0.0.3.dist-info}/top_level.txt +0 -0
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
from pytest import approx
|
|
3
|
-
import numpy as np
|
|
4
|
-
|
|
5
|
-
import quimb as qu
|
|
6
|
-
import quimb.tensor as qtn
|
|
7
|
-
from quimb.tensor.tensor_1d_tebd import OTOC_local
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class TestTEBD:
|
|
11
|
-
def test_setup_and_sweep(self):
|
|
12
|
-
n = 10
|
|
13
|
-
H_int = qu.ham_heis(n=2, cyclic=False)
|
|
14
|
-
psi0 = qtn.MPS_neel_state(n, dtype=complex)
|
|
15
|
-
tebd = qtn.TEBD(psi0, H_int, dt=0.05)
|
|
16
|
-
assert tebd.pt.bond_size(0, 1) == 1
|
|
17
|
-
tebd.sweep("right", 1 / 2)
|
|
18
|
-
assert tebd.pt.count_canonized() == (n - 1, 0)
|
|
19
|
-
tebd.sweep("left", 1 / 2)
|
|
20
|
-
assert tebd.pt.count_canonized() == (0, n - 1)
|
|
21
|
-
assert tebd.pt.bond_size(0, 1) > 1
|
|
22
|
-
assert not tebd._queued_sweep
|
|
23
|
-
|
|
24
|
-
@pytest.mark.parametrize("cyclic", [False, True])
|
|
25
|
-
@pytest.mark.parametrize("order", [2, 4])
|
|
26
|
-
@pytest.mark.parametrize(
|
|
27
|
-
"dt,tol",
|
|
28
|
-
[
|
|
29
|
-
(0.0759283, None),
|
|
30
|
-
(None, 1e-4),
|
|
31
|
-
(0.0759283, 1e-4),
|
|
32
|
-
(None, None),
|
|
33
|
-
],
|
|
34
|
-
)
|
|
35
|
-
@pytest.mark.parametrize("n", [5, 6])
|
|
36
|
-
def test_evolve_obc_pbc(self, n, order, dt, tol, cyclic):
|
|
37
|
-
tf = 1.0 if cyclic else 2
|
|
38
|
-
psi0 = qtn.MPS_neel_state(n, cyclic=cyclic)
|
|
39
|
-
H_int = qu.ham_heis(2, cyclic=False) # this is just the interaction
|
|
40
|
-
|
|
41
|
-
if dt and tol:
|
|
42
|
-
with pytest.raises(ValueError):
|
|
43
|
-
qtn.TEBD(psi0, H_int, dt=dt, tol=tol)
|
|
44
|
-
return
|
|
45
|
-
|
|
46
|
-
tebd = qtn.TEBD(psi0, H_int, dt=dt, tol=tol)
|
|
47
|
-
assert tebd.cyclic == cyclic
|
|
48
|
-
tebd.split_opts["cutoff"] = 1e-10
|
|
49
|
-
|
|
50
|
-
if dt is None and tol is None:
|
|
51
|
-
with pytest.raises(ValueError):
|
|
52
|
-
tebd.update_to(tf, order=order)
|
|
53
|
-
return
|
|
54
|
-
|
|
55
|
-
tebd.update_to(tf, order=order)
|
|
56
|
-
assert tebd.t == approx(tf)
|
|
57
|
-
assert not tebd._queued_sweep
|
|
58
|
-
|
|
59
|
-
dpsi0 = psi0.to_dense()
|
|
60
|
-
dham = qu.ham_heis(n=n, sparse=True, cyclic=cyclic)
|
|
61
|
-
evo = qu.Evolution(dpsi0, dham)
|
|
62
|
-
evo.update_to(tf)
|
|
63
|
-
|
|
64
|
-
assert qu.expec(evo.pt, tebd.pt.to_dense()) == approx(
|
|
65
|
-
1, rel=1e-3 if cyclic else 1e-5
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
@pytest.mark.parametrize("cyclic", [False, True])
|
|
69
|
-
@pytest.mark.parametrize("order", [2, 4])
|
|
70
|
-
@pytest.mark.parametrize(
|
|
71
|
-
"dt,tol",
|
|
72
|
-
[
|
|
73
|
-
(0.0759283, None),
|
|
74
|
-
(None, 1e-4),
|
|
75
|
-
(0.0759283, 1e-4),
|
|
76
|
-
(None, None),
|
|
77
|
-
],
|
|
78
|
-
)
|
|
79
|
-
@pytest.mark.parametrize("n", [5, 6])
|
|
80
|
-
def test_imag_evolve_obc_pbc(self, n, order, dt, tol, cyclic):
|
|
81
|
-
tf = 2
|
|
82
|
-
ground = qtn.MPS_computational_state("0" * n, cyclic=cyclic)
|
|
83
|
-
excited = qtn.MPS_computational_state(("01" * n)[:n], cyclic=cyclic)
|
|
84
|
-
psi0 = (ground + excited) / 2**0.5
|
|
85
|
-
H = qtn.ham_1d_ising(n, j=-1, cyclic=cyclic)
|
|
86
|
-
|
|
87
|
-
if dt and tol:
|
|
88
|
-
with pytest.raises(ValueError):
|
|
89
|
-
qtn.TEBD(psi0, H, dt=dt, tol=tol, imag=True)
|
|
90
|
-
return
|
|
91
|
-
|
|
92
|
-
tebd = qtn.TEBD(psi0, H, dt=dt, tol=tol, imag=True)
|
|
93
|
-
assert tebd.cyclic == cyclic
|
|
94
|
-
tebd.split_opts["cutoff"] = 1e-10
|
|
95
|
-
|
|
96
|
-
if dt is None and tol is None:
|
|
97
|
-
with pytest.raises(ValueError):
|
|
98
|
-
tebd.update_to(tf, order=order)
|
|
99
|
-
return
|
|
100
|
-
|
|
101
|
-
tebd.update_to(tf, order=order)
|
|
102
|
-
assert tebd.t == approx(tf)
|
|
103
|
-
assert not tebd._queued_sweep
|
|
104
|
-
|
|
105
|
-
H_mpo = qtn.MPO_ham_ising(n, j=-1, cyclic=cyclic)
|
|
106
|
-
E_ground = qtn.expec_TN_1D(ground.H, H_mpo, ground)
|
|
107
|
-
E_excited = qtn.expec_TN_1D(excited.H, H_mpo, excited)
|
|
108
|
-
|
|
109
|
-
psi1 = (
|
|
110
|
-
np.exp(-tf * E_ground) * ground + np.exp(-tf * E_excited) * excited
|
|
111
|
-
)
|
|
112
|
-
psi1 /= np.sqrt(
|
|
113
|
-
np.exp(-2 * tf * E_ground) + np.exp(-2 * tf * E_excited)
|
|
114
|
-
)
|
|
115
|
-
|
|
116
|
-
assert qtn.expec_TN_1D(psi1.H, tebd.pt) == approx(1, rel=1e-5)
|
|
117
|
-
|
|
118
|
-
@pytest.mark.parametrize("cyclic", [False, True])
|
|
119
|
-
@pytest.mark.parametrize(
|
|
120
|
-
"dt,tol",
|
|
121
|
-
[
|
|
122
|
-
(0.0659283, None),
|
|
123
|
-
(None, 1e-5),
|
|
124
|
-
],
|
|
125
|
-
)
|
|
126
|
-
def test_at_times(self, dt, tol, cyclic):
|
|
127
|
-
n = 10
|
|
128
|
-
psi0 = qtn.MPS_neel_state(n, cyclic=cyclic)
|
|
129
|
-
H_int = qu.ham_heis(2, cyclic=False)
|
|
130
|
-
tebd = qtn.TEBD(psi0, H_int, dt=dt, tol=tol)
|
|
131
|
-
|
|
132
|
-
for pt in tebd.at_times([0.1, 0.2, 0.3, 0.4, 0.5]):
|
|
133
|
-
assert pt.H @ pt == approx(1, rel=1e-5)
|
|
134
|
-
|
|
135
|
-
assert tebd.err <= 1e-5
|
|
136
|
-
|
|
137
|
-
def test_local_ham_1d_and_single_site_terms(self):
|
|
138
|
-
n = 10
|
|
139
|
-
psi0 = qtn.MPS_neel_state(n)
|
|
140
|
-
lham_1d = qtn.ham_1d_XY(n, bz=0.9)
|
|
141
|
-
tebd = qtn.TEBD(psi0, lham_1d)
|
|
142
|
-
tebd.update_to(1.0, tol=1e-5)
|
|
143
|
-
assert abs(psi0.H @ tebd.pt) < 1.0
|
|
144
|
-
assert tebd.pt.entropy(5) > 0.0
|
|
145
|
-
|
|
146
|
-
psi0_dns = qu.neel_state(n)
|
|
147
|
-
H_dns = qu.ham_XY(10, jxy=1.0, bz=0.9, cyclic=False)
|
|
148
|
-
evo = qu.Evolution(psi0_dns, H_dns)
|
|
149
|
-
evo.update_to(1.0)
|
|
150
|
-
|
|
151
|
-
assert qu.expec(tebd.pt.to_dense(), evo.pt) == pytest.approx(1.0)
|
|
152
|
-
|
|
153
|
-
def test_local_ham_1d_and_single_site_terms_heis(self):
|
|
154
|
-
n = 10
|
|
155
|
-
psi0 = qtn.MPS_neel_state(n)
|
|
156
|
-
lham_1d = qtn.ham_1d_heis(n, j=(0.7, 0.8, 0.9), bz=0.337)
|
|
157
|
-
tebd = qtn.TEBD(psi0, lham_1d)
|
|
158
|
-
tebd.update_to(1.0, tol=1e-5)
|
|
159
|
-
assert abs(psi0.H @ tebd.pt) < 1.0
|
|
160
|
-
assert tebd.pt.entropy(5) > 0.0
|
|
161
|
-
|
|
162
|
-
psi0_dns = qu.neel_state(n)
|
|
163
|
-
H_dns = qu.ham_heis(10, j=(0.7, 0.8, 0.9), b=0.337, cyclic=False)
|
|
164
|
-
evo = qu.Evolution(psi0_dns, H_dns)
|
|
165
|
-
evo.update_to(1.0)
|
|
166
|
-
|
|
167
|
-
assert qu.expec(tebd.pt.to_dense(), evo.pt) == pytest.approx(1.0)
|
|
168
|
-
|
|
169
|
-
def test_non_trans_invar(self):
|
|
170
|
-
n = 10
|
|
171
|
-
tf = 1.0
|
|
172
|
-
p0 = qtn.MPS_rand_state(n, bond_dim=1)
|
|
173
|
-
H = qtn.ham_1d_mbl(n, dh=1.7, cyclic=False, seed=42)
|
|
174
|
-
print(H)
|
|
175
|
-
tebd = qtn.TEBD(p0, H)
|
|
176
|
-
tebd.update_to(tf, tol=1e-3)
|
|
177
|
-
|
|
178
|
-
p0d = p0.to_dense()
|
|
179
|
-
Hd = qu.ham_mbl(n, dh=1.7, cyclic=False, seed=42, sparse=True)
|
|
180
|
-
evo = qu.Evolution(p0d, Hd)
|
|
181
|
-
evo.update_to(tf)
|
|
182
|
-
|
|
183
|
-
assert qu.expec(tebd.pt.to_dense(), evo.pt) == pytest.approx(1.0)
|
|
184
|
-
|
|
185
|
-
@pytest.mark.parametrize("cyclic", [False, True])
|
|
186
|
-
def test_ising_model_with_field(self, cyclic):
|
|
187
|
-
p = qtn.MPS_computational_state("0000100000", cyclic=cyclic)
|
|
188
|
-
pd = p.to_dense()
|
|
189
|
-
|
|
190
|
-
lham_1d = qtn.ham_1d_ising(10, j=4, bx=1, cyclic=cyclic)
|
|
191
|
-
H_mpo = qtn.MPO_ham_ising(10, j=4, bx=1, cyclic=cyclic)
|
|
192
|
-
H = qu.ham_ising(10, jz=4, bx=1, cyclic=cyclic)
|
|
193
|
-
|
|
194
|
-
tebd = qtn.TEBD(p, lham_1d, tol=1e-6)
|
|
195
|
-
tebd.split_opts["cutoff"] = 1e-9
|
|
196
|
-
tebd.split_opts["cutoff_mode"] = "rel"
|
|
197
|
-
evo = qu.Evolution(pd, H)
|
|
198
|
-
|
|
199
|
-
e0 = qu.expec(pd, H)
|
|
200
|
-
e0_mpo = qtn.expec_TN_1D(p.H, H_mpo, p)
|
|
201
|
-
|
|
202
|
-
assert e0_mpo == pytest.approx(e0)
|
|
203
|
-
|
|
204
|
-
tf = 2
|
|
205
|
-
ts = np.linspace(0, tf, 21)
|
|
206
|
-
evo.update_to(tf)
|
|
207
|
-
|
|
208
|
-
for pt in tebd.at_times(ts):
|
|
209
|
-
assert isinstance(pt, qtn.MatrixProductState)
|
|
210
|
-
assert (pt.H @ pt) == pytest.approx(1.0, rel=1e-5)
|
|
211
|
-
|
|
212
|
-
assert qu.expec(tebd.pt.to_dense(), evo.pt) == pytest.approx(
|
|
213
|
-
1.0, rel=1e-5
|
|
214
|
-
)
|
|
215
|
-
|
|
216
|
-
ef_mpo = qtn.expec_TN_1D(tebd.pt.H, H_mpo, tebd.pt)
|
|
217
|
-
assert ef_mpo == pytest.approx(e0, 1e-5)
|
|
218
|
-
|
|
219
|
-
def test_build_mpo_propagator_trotterized(self):
|
|
220
|
-
n = 5
|
|
221
|
-
ham = qtn.ham_1d_mbl(n, dh=1.7, cyclic=False, seed=42)
|
|
222
|
-
mpo = ham.build_mpo_propagator_trotterized(-0.01j)
|
|
223
|
-
assert mpo.num_tensors == 5
|
|
224
|
-
href = qu.ham_mbl(n, dh=1.7, cyclic=False, seed=42)
|
|
225
|
-
pref = qu.expm(-0.01j * href)
|
|
226
|
-
pden = mpo.to_dense()
|
|
227
|
-
dr = np.linalg.norm(pden - pref)
|
|
228
|
-
di = np.linalg.norm(pden - qu.identity(2**n))
|
|
229
|
-
assert dr < 1e-3 < di
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
def test_OTOC_local():
|
|
233
|
-
L = 10
|
|
234
|
-
psi0 = qtn.MPS_computational_state("0" * L, cyclic=True)
|
|
235
|
-
H1 = qtn.ham_1d_ising(L, j=4, bx=0, cyclic=True)
|
|
236
|
-
H_back1 = qtn.ham_1d_ising(L, j=-4, bx=0, cyclic=True)
|
|
237
|
-
H2 = qtn.ham_1d_ising(L, j=4, bx=1, cyclic=True)
|
|
238
|
-
H_back2 = qtn.ham_1d_ising(L, j=-4, bx=-1, cyclic=True)
|
|
239
|
-
A = qu.pauli("z")
|
|
240
|
-
ts = np.linspace(1, 2, 2)
|
|
241
|
-
OTOC_t = []
|
|
242
|
-
for OTOC in OTOC_local(
|
|
243
|
-
psi0,
|
|
244
|
-
H1,
|
|
245
|
-
H_back1,
|
|
246
|
-
ts,
|
|
247
|
-
5,
|
|
248
|
-
A,
|
|
249
|
-
tol=1e-5,
|
|
250
|
-
split_opts={"cutoff": 1e-5, "cutoff_mode": "rel"},
|
|
251
|
-
initial_eigenstate="check",
|
|
252
|
-
):
|
|
253
|
-
OTOC_t += [OTOC]
|
|
254
|
-
assert OTOC_t[0] == pytest.approx(1.0)
|
|
255
|
-
assert OTOC_t[1] == pytest.approx(1.0)
|
|
256
|
-
x_t = []
|
|
257
|
-
for x in OTOC_local(
|
|
258
|
-
psi0,
|
|
259
|
-
H2,
|
|
260
|
-
H_back2,
|
|
261
|
-
ts,
|
|
262
|
-
5,
|
|
263
|
-
A,
|
|
264
|
-
tol=1e-5,
|
|
265
|
-
split_opts={"cutoff": 1e-5, "cutoff_mode": "rel"},
|
|
266
|
-
initial_eigenstate="check",
|
|
267
|
-
):
|
|
268
|
-
x_t += [x]
|
|
269
|
-
assert x_t[0] == pytest.approx(0.52745, rel=1e-4, abs=1e-9)
|
|
270
|
-
assert x_t[1] == pytest.approx(0.70440, rel=1e-4, abs=1e-9)
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
from quimb.utils import (
|
|
3
|
-
raise_cant_find_library_function,
|
|
4
|
-
deprecated,
|
|
5
|
-
oset,
|
|
6
|
-
)
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class TestLibraryFinding:
|
|
10
|
-
def test_raise_cant_find_library_function(self):
|
|
11
|
-
fn = raise_cant_find_library_function(
|
|
12
|
-
"alibthatisdefinitelynotinstalledasfeasdf"
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
with pytest.raises(ImportError):
|
|
16
|
-
fn()
|
|
17
|
-
|
|
18
|
-
def test_deprecated(self):
|
|
19
|
-
fn = deprecated(lambda: 2, "old_two", "new_two")
|
|
20
|
-
|
|
21
|
-
with pytest.warns(Warning):
|
|
22
|
-
r = fn()
|
|
23
|
-
|
|
24
|
-
assert r == 2
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class TestOset:
|
|
28
|
-
def test_basic(self):
|
|
29
|
-
xs = oset([3, 1, 2])
|
|
30
|
-
ys = oset([3, 4, 5])
|
|
31
|
-
assert list(xs | ys) == [3, 1, 2, 4, 5]
|
|
32
|
-
assert list(xs & ys) == [3]
|
|
33
|
-
assert list(xs - ys) == [1, 2]
|
|
34
|
-
|
|
35
|
-
xc = xs.copy()
|
|
36
|
-
assert xs._d == xc._d
|
|
37
|
-
assert xs._d is not xc._d
|
|
38
|
-
|
|
39
|
-
xs |= ys
|
|
40
|
-
assert list(xc) == [3, 1, 2]
|
|
41
|
-
assert list(xs) == [3, 1, 2, 4, 5]
|
|
42
|
-
|
|
43
|
-
xs &= oset([5, 4, 2])
|
|
44
|
-
assert list(xs) == [2, 4, 5]
|
|
45
|
-
assert len(xs) == 3
|
|
46
|
-
|
|
47
|
-
assert str(xs) == "oset([2, 4, 5])"
|
|
48
|
-
|
|
49
|
-
xs.discard(6)
|
|
50
|
-
xs.discard(5)
|
|
51
|
-
assert len(xs) == 2
|
|
52
|
-
|
|
53
|
-
with pytest.raises(KeyError):
|
|
54
|
-
xs.remove(5)
|
|
55
|
-
|
|
56
|
-
xs.add(10)
|
|
57
|
-
assert 10 in xs
|
|
58
|
-
assert len(xs) == 3
|
|
59
|
-
|
|
60
|
-
xs -= xs
|
|
61
|
-
assert not bool(xs)
|
|
62
|
-
|
|
63
|
-
def test_multi(self):
|
|
64
|
-
a = oset(range(20))
|
|
65
|
-
c = oset(range(15, 35))
|
|
66
|
-
b = oset(range(10, 30))
|
|
67
|
-
|
|
68
|
-
d = oset.union(a, b, c)
|
|
69
|
-
assert len(d) == 35
|
|
70
|
-
d.clear()
|
|
71
|
-
assert len(d) == 0
|
|
72
|
-
|
|
73
|
-
d = oset.intersection(a, b, c)
|
|
74
|
-
assert len(d) == 5
|
|
75
|
-
|
|
76
|
-
d = oset.difference(a, b, c)
|
|
77
|
-
assert len(d) == 10
|
|
78
|
-
|
|
79
|
-
a = oset("abcdefg")
|
|
80
|
-
a.intersection_update(oset("abd"), oset("bdf"))
|
|
81
|
-
assert list(a) == ["b", "d"]
|
|
82
|
-
|
|
83
|
-
a = oset("abcdefg")
|
|
84
|
-
a.difference_update(oset("abd"), oset("bdf"))
|
|
85
|
-
assert list(a) == ["c", "e", "g"]
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
trajectree/__init__.py,sha256=6LrzMGCVi3sDbfhy3Z8QtO-yH9Cgygl9dfbBlvVrO6Y,95
|
|
2
|
-
trajectree/optical_quant_info.py,sha256=27LWg0jIWT2ZXWVK8HEd-2gqAJl0GzmsyYi7sxyYzvA,7589
|
|
3
|
-
trajectree/trajectory.py,sha256=OhlUhdBlSX8nFLUhMZ5CM4r9PJzJDNqfMv4U1ZAldkY,11276
|
|
4
|
-
trajectree/experimental/sparse.py,sha256=05aFsMcBSCUoBop1LJG_lB5kTULRSYhZhGT9RD-UH4Q,4851
|
|
5
|
-
trajectree/fock_optics/devices.py,sha256=HkZPK64BGJAu0ssJKnGG8MxSCidy2P-OT8fMoMtD_hM,2138
|
|
6
|
-
trajectree/fock_optics/light_sources.py,sha256=yF0iF8pC0pm4rJexyhPythxp71FALtS7R28BBiG6IY0,4839
|
|
7
|
-
trajectree/fock_optics/measurement.py,sha256=ET6ANc2uVFN8ovIXO67n3TMMsQUxq3XTC7nalN5lMaE,13123
|
|
8
|
-
trajectree/fock_optics/noise_models.py,sha256=nyU_jNqjJkkcafq7vIXI8IRDiwthiOr4ZQqf55knZMM,1895
|
|
9
|
-
trajectree/fock_optics/outputs.py,sha256=Dg19FvodfKWDTB7B6IZ_EYUtC3vgsjlBugyrF4_tBvc,2270
|
|
10
|
-
trajectree/fock_optics/utils.py,sha256=EWexrsfVnrYqL9_6IINGgh_rgHtgSzzZOaXbrilR63A,7146
|
|
11
|
-
trajectree/quimb/docs/conf.py,sha256=cS_zQumKuXt_mX3Q7KmpnYfEaqgKSDZpNKDRdcZVDxM,4422
|
|
12
|
-
trajectree/quimb/docs/_pygments/_pygments_dark.py,sha256=ySzduMM-NWrQmwsv_64UAPTtJ3QCuDiJ7ZVHO3E5mMA,5426
|
|
13
|
-
trajectree/quimb/docs/_pygments/_pygments_light.py,sha256=tM0f9Z4AlEbBJg4C3Ex8bgApODQMrtub1QAI289IJLE,5435
|
|
14
|
-
trajectree/quimb/docs/examples/ex_mpi_expm_evo.py,sha256=YXjebw-78fO9pDRDgmugMxgHP5zu2reK4Ogz6TFbSHs,2029
|
|
15
|
-
trajectree/quimb/quimb/__init__.py,sha256=mYoJPIiqLoOVsBKWLOp3hMYU1qpXH77wRL6HZzfgI50,8958
|
|
16
|
-
trajectree/quimb/quimb/calc.py,sha256=IA900wkhe4T91ROfvYC9FJUgOE0F4z6_64A55exIpzA,40429
|
|
17
|
-
trajectree/quimb/quimb/core.py,sha256=SiYx9I0WE3xaD9FDfomjupD94x3388wch7qbTzFManQ,64064
|
|
18
|
-
trajectree/quimb/quimb/evo.py,sha256=m8N9ydQ8M37FGg4-4hg0Nj6XrARNnF7RKekqACYapu4,23787
|
|
19
|
-
trajectree/quimb/quimb/gates.py,sha256=EIsQk_KqLjS7JiStL_A9ukKio6MKZDfET0NgBdxmT8M,786
|
|
20
|
-
trajectree/quimb/quimb/schematic.py,sha256=BWJTUmKQTDpCKK-BIiXGyA5TNETCwL4hMi848ktdfns,50217
|
|
21
|
-
trajectree/quimb/quimb/utils.py,sha256=_s6mmdhej3VJIju8lFNKFc9Xl5N2wmhz2wGyHnQBSHk,24312
|
|
22
|
-
trajectree/quimb/quimb/experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
-
trajectree/quimb/quimb/experimental/autojittn.py,sha256=JDvArLQgnhCNOvKGej0eRjfu8C0D7cn2911S95RJ3-s,4098
|
|
24
|
-
trajectree/quimb/quimb/experimental/cluster_update.py,sha256=Yj1Awi7VvZxzGx_GjgCy64l_tUFeL4a7vVudGzcm7rk,8968
|
|
25
|
-
trajectree/quimb/quimb/experimental/merabuilder.py,sha256=cHOwclQX9aWabc7qczwS25U7jVLLOMSYz6aOB2hWMzI,28925
|
|
26
|
-
trajectree/quimb/quimb/experimental/schematic.py,sha256=ghpvkS_yOcoLTWG_b0RvWOAAnO2Jvbz5K2H7JP9r7bQ,144
|
|
27
|
-
trajectree/quimb/quimb/experimental/tn_marginals.py,sha256=n9QUkgtkIDAsbuaKli2ZrxSBbTUzM2leIm_08LThOP0,3496
|
|
28
|
-
trajectree/quimb/quimb/experimental/tnvmc.py,sha256=zpXacyW5dEEb2lWBQxRP3gJYgn5tLJuWvFixwScLzCs,43024
|
|
29
|
-
trajectree/quimb/quimb/experimental/belief_propagation/__init__.py,sha256=WEhYcQfwC8HJuiBfY7gcj5Mn9Oj_vCjsj96WSYNScGw,4400
|
|
30
|
-
trajectree/quimb/quimb/experimental/belief_propagation/bp_common.py,sha256=IYxGigtJjcSv6d0cS-KFSBkNnBhBARD92NDipzUjXZU,11268
|
|
31
|
-
trajectree/quimb/quimb/experimental/belief_propagation/d1bp.py,sha256=DDuEUpBP4tjpCANPKDNcZYoyAaGrpW3_m2L2QCFkzQk,10200
|
|
32
|
-
trajectree/quimb/quimb/experimental/belief_propagation/d2bp.py,sha256=BPB68NuCoiBQgLCa0-PhbOkPtfFNdcbw2RPYUw5pCBI,20827
|
|
33
|
-
trajectree/quimb/quimb/experimental/belief_propagation/hd1bp.py,sha256=_WJrKuSW8EyhhCcUPIpYb4zDlqR-rVZzR_-5pm9tns8,17308
|
|
34
|
-
trajectree/quimb/quimb/experimental/belief_propagation/hv1bp.py,sha256=N6X7dDFRbWl9yX-Qapod-qtZs4O1bcLvPdDiZWJ0qv0,23112
|
|
35
|
-
trajectree/quimb/quimb/experimental/belief_propagation/l1bp.py,sha256=M9MHGfenIs9GIOxUD4XZOj_KplB1GwwA3BqXzAKjJ7I,10731
|
|
36
|
-
trajectree/quimb/quimb/experimental/belief_propagation/l2bp.py,sha256=WkgEEw4-Qc9xXabdQdWJEPjW5Ps2kA8pD5SgeeGBwUo,17348
|
|
37
|
-
trajectree/quimb/quimb/experimental/belief_propagation/regions.py,sha256=tS5xI8Tf2GdXaXEPK4SpnbnO2DLd2yaVLzIgYW9V_T8,6474
|
|
38
|
-
trajectree/quimb/quimb/experimental/operatorbuilder/__init__.py,sha256=7ox5NZ9jE1Apkb-_pQzRChUclUbOaq_oV6sa-oTjlFg,340
|
|
39
|
-
trajectree/quimb/quimb/experimental/operatorbuilder/operatorbuilder.py,sha256=_kUBB-CW_z5fdZzILRAmrIiLsoTxpLEH7pa7Iwv_P3A,52213
|
|
40
|
-
trajectree/quimb/quimb/gen/__init__.py,sha256=YU3DDeIjWkDNLid8sGYDgto-ZcQYkXVV5FaWDRBahes,49
|
|
41
|
-
trajectree/quimb/quimb/gen/operators.py,sha256=nQP6gs1RuFwZKvBAl2HKhq8hoJ3gAoIDWoMVmzwtCdY,34113
|
|
42
|
-
trajectree/quimb/quimb/gen/rand.py,sha256=r7kS1r3ZmztaqRBrDSy1OfGMa7w3uGvPmK1usvbq0r4,19039
|
|
43
|
-
trajectree/quimb/quimb/gen/states.py,sha256=dY7G_8_qduVJf-Vg_bDa3L7xSpi9OQs-6oWKG48znrM,10992
|
|
44
|
-
trajectree/quimb/quimb/linalg/__init__.py,sha256=HN30G3kHuGe-0kXibR63-kqxFClTIzhevkq6jCWNkrE,146
|
|
45
|
-
trajectree/quimb/quimb/linalg/approx_spectral.py,sha256=_9IvawyQvGusEESC2dy1HlQLoY6OZZ6T10fqYLqA8AQ,34531
|
|
46
|
-
trajectree/quimb/quimb/linalg/autoblock.py,sha256=5tVNKN2Z_iuKShgZ_iKwYCvTADc1ixt34siPUL-pf8c,7039
|
|
47
|
-
trajectree/quimb/quimb/linalg/base_linalg.py,sha256=cqXcr_-0gU9vGzI4ILJJVDOQgivy28pU4n0EPCjUoek,21019
|
|
48
|
-
trajectree/quimb/quimb/linalg/mpi_launcher.py,sha256=yWVMvOMvNd5D955pIUY-Weds2sx96D1t2W3ALWsr-Kg,11924
|
|
49
|
-
trajectree/quimb/quimb/linalg/numpy_linalg.py,sha256=I2XK3GD1CqKjus62eB-iEhhBXA2spm39IQ8-38CyIc8,6822
|
|
50
|
-
trajectree/quimb/quimb/linalg/rand_linalg.py,sha256=GVid_1Oudjg57q9G5s7Fp7MqRHAFFKUZERQ7d51T_VM,13495
|
|
51
|
-
trajectree/quimb/quimb/linalg/scipy_linalg.py,sha256=h6G0mGU50Ipcg83rW6zeB4DQBM7ViiHPfIIQsx0J2Vw,8357
|
|
52
|
-
trajectree/quimb/quimb/linalg/slepc_linalg.py,sha256=ewFgJAiOZH7N08J4sTwUeMPRIxrn2mDwfOB632yQDb8,24826
|
|
53
|
-
trajectree/quimb/quimb/tensor/__init__.py,sha256=479JSJUeU3Tr2p4adI3-CaV-Apsyg8qAaO7v_0IeWMA,8664
|
|
54
|
-
trajectree/quimb/quimb/tensor/array_ops.py,sha256=wfy2R_6S3AktZpEcR13_X5eb_mZqG8wezs0WHi4_XzI,16209
|
|
55
|
-
trajectree/quimb/quimb/tensor/circuit.py,sha256=F0dcBzXGIa48vvyMj-vR8ZZymqJFZ3PI9MyJdiPaSA8,157242
|
|
56
|
-
trajectree/quimb/quimb/tensor/circuit_gen.py,sha256=_3GSxivMyI2gBpzc6pRE8aYqvkB1WSCsvoocg_4jEh0,11206
|
|
57
|
-
trajectree/quimb/quimb/tensor/contraction.py,sha256=2inzGm2sd_9Bo6k-8hG5g3m2RNXPUtwRvxwkVLchL2Q,9866
|
|
58
|
-
trajectree/quimb/quimb/tensor/decomp.py,sha256=v06rqlKDEoQuSKNdG5-VnzIGyadWr8ACdRJhqmfIeVc,34523
|
|
59
|
-
trajectree/quimb/quimb/tensor/drawing.py,sha256=u5t_ktD1e4IHo-f0iFKk6skKB7vkSYZoB5AGDgd6Se0,53717
|
|
60
|
-
trajectree/quimb/quimb/tensor/fitting.py,sha256=-tOVQSbWyC40PZyD4qmHSDHw-sblqmSMxhjAGpiwJAE,12245
|
|
61
|
-
trajectree/quimb/quimb/tensor/geometry.py,sha256=Wnr8W_m3eK2rMg6drrEPQWvjKmfM0UsVRTwAeLD_w6c,17145
|
|
62
|
-
trajectree/quimb/quimb/tensor/interface.py,sha256=7KkQnwRt2QFmmiT3kjfwsbFEK1pK8Jnft1oo9uI3-58,2900
|
|
63
|
-
trajectree/quimb/quimb/tensor/networking.py,sha256=XlDvXhGh4EHSTNDUSMBExMeaTUjQevZVnUlL6bM1ICk,32528
|
|
64
|
-
trajectree/quimb/quimb/tensor/optimize.py,sha256=2CQOqnvffwe1UGkGqnjZE9AWN6xFTZO1E9GLxvZFDbE,55641
|
|
65
|
-
trajectree/quimb/quimb/tensor/tensor_1d.py,sha256=YPiCyro9r-DZFTNOGmcy-X1_QYXDFAaF6tLDVDggSso,161261
|
|
66
|
-
trajectree/quimb/quimb/tensor/tensor_1d_compress.py,sha256=aU05kChGBdSsQLnu2eee_MLLkVymfSsy9TFojYCcblg,63486
|
|
67
|
-
trajectree/quimb/quimb/tensor/tensor_1d_tebd.py,sha256=gTh8PGQekmIcmM3qDYS4lwZjYC6wnUMR8vDTEo9RSAU,22840
|
|
68
|
-
trajectree/quimb/quimb/tensor/tensor_2d.py,sha256=s3Ja9tc3lFRGi5psef7y5B2LQc0uvAekY0rx_kcq7p0,211879
|
|
69
|
-
trajectree/quimb/quimb/tensor/tensor_2d_compress.py,sha256=qS0_Manmf11o98vBD6iYdgHpX88lSMPA5oPjJzjTVBA,3191
|
|
70
|
-
trajectree/quimb/quimb/tensor/tensor_2d_tebd.py,sha256=xx0dhEVNyYDgK-w6aMegIM4HLKUwPXeMub4-Xd_Pcto,46335
|
|
71
|
-
trajectree/quimb/quimb/tensor/tensor_3d.py,sha256=LhgQDT4thid0SJBDucZdmI6dE-uVw5QfNSG8GX8OYoM,93894
|
|
72
|
-
trajectree/quimb/quimb/tensor/tensor_3d_tebd.py,sha256=-6DsMxoqviiCZ3TPFnJLjLF1tjqeEQgBuiF_8pFHXhk,1422
|
|
73
|
-
trajectree/quimb/quimb/tensor/tensor_approx_spectral.py,sha256=op3z2ExnPi5NxX4ZCKCyqrKfZIga75dX5ORyVats-1c,1761
|
|
74
|
-
trajectree/quimb/quimb/tensor/tensor_arbgeom.py,sha256=Yif7B2UCVGtkiPKFQSGSmoBd-BOycXPgKEW2YtLs1eU,112496
|
|
75
|
-
trajectree/quimb/quimb/tensor/tensor_arbgeom_compress.py,sha256=EA_i_jYUszQUWynarcFL0e_jAtsjMVM-k06BgCf7erU,19336
|
|
76
|
-
trajectree/quimb/quimb/tensor/tensor_arbgeom_tebd.py,sha256=6eqjG5Qt98j6baHkIUVM59D7n3s8ZBDqjYBagj9i1AI,37262
|
|
77
|
-
trajectree/quimb/quimb/tensor/tensor_builder.py,sha256=faRynamBQZ7pdL0XUzZjIs0rDWLAGFZu0HPd8XdXJcA,159223
|
|
78
|
-
trajectree/quimb/quimb/tensor/tensor_core.py,sha256=ohT41mMonXMWBrYgWColHA4SP02Ze5JDhidAzbimaR4,378135
|
|
79
|
-
trajectree/quimb/quimb/tensor/tensor_dmrg.py,sha256=qoJ4-xkqpVF52GOxsbvvuDrw51jvFC39SCHOaumEMQc,54176
|
|
80
|
-
trajectree/quimb/quimb/tensor/tensor_mera.py,sha256=rFSWve9A7nh4-BBA4fSYjH0n6PFedslE3qDrN61wr0g,6994
|
|
81
|
-
trajectree/quimb/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
82
|
-
trajectree/quimb/tests/test_accel.py,sha256=RZ15-SiWcHzpBnmohsEdFCxn4SHM08vmLIRWjbsdSh8,14106
|
|
83
|
-
trajectree/quimb/tests/test_calc.py,sha256=RgamvCmBogvvHfXbWEtX8QcsHlPelq1mry63ckca2TQ,25858
|
|
84
|
-
trajectree/quimb/tests/test_core.py,sha256=eks9GHizUcobrPYpx_NOHzC2vGKtsfy0yvmlIvCIzIU,28434
|
|
85
|
-
trajectree/quimb/tests/test_evo.py,sha256=UiuF_nxfTtr4m-DPNfRm-htj4QwASjFeTAR_GerveQM,19098
|
|
86
|
-
trajectree/quimb/tests/test_utils.py,sha256=2RfhiL8kSSUL87Mf2BJm75JnoPEZb5cQJl7g18OwMeI,1940
|
|
87
|
-
trajectree/quimb/tests/test_gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
88
|
-
trajectree/quimb/tests/test_gen/test_operators.py,sha256=nmObyvNvmhhnJrgr_Y_GFbT-LQD8FP_UtDlynJtYBLU,11533
|
|
89
|
-
trajectree/quimb/tests/test_gen/test_rand.py,sha256=tYalkcQR-uepdnhxSN1npSkgnPZzTr6L0GFlBLbEENU,9332
|
|
90
|
-
trajectree/quimb/tests/test_gen/test_states.py,sha256=wRcigYORhGmLP6HtD4JSoEINLm7fVChEN9rto4deW1E,6785
|
|
91
|
-
trajectree/quimb/tests/test_linalg/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
92
|
-
trajectree/quimb/tests/test_linalg/test_approx_spectral.py,sha256=2jZRyntNWAeYmxjRrZijfv9M_P9DYe9ugAWiGTI7uuY,12244
|
|
93
|
-
trajectree/quimb/tests/test_linalg/test_base_linalg.py,sha256=83uPTKl-fAjuYXGDnwyb6C2iJ1wbD5V2jnS-tU34--4,12159
|
|
94
|
-
trajectree/quimb/tests/test_linalg/test_mpi_linalg.py,sha256=iDYpyCnTwVVxGTPhABOdqtdZBEZMfDfun5CTSsaFhOc,3492
|
|
95
|
-
trajectree/quimb/tests/test_linalg/test_numpy_linalg.py,sha256=GicPIXVgBPFmE5DWFR0iPn4Gh9O-YUETwFcEQ0A0w6k,2428
|
|
96
|
-
trajectree/quimb/tests/test_linalg/test_rand_linalg.py,sha256=CBV1to82PKnnelJW1oUjMg23ZB8yxv6ONovc5V3Cut4,4200
|
|
97
|
-
trajectree/quimb/tests/test_linalg/test_slepc_linalg.py,sha256=ViZF9foyR3NHVCdK5bUWCGjjWLoQT7sjPNw9y9vvQvw,8328
|
|
98
|
-
trajectree/quimb/tests/test_tensor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
|
-
trajectree/quimb/tests/test_tensor/test_circuit.py,sha256=aQWEzORFBEdyhjNKFFa_54OhL4EFKiMm5lxqoLsEGz4,22563
|
|
100
|
-
trajectree/quimb/tests/test_tensor/test_contract.py,sha256=dr_4V7tJpcOCrQarriWw1S7M8qQBshxrh9FUu6Ntxus,2302
|
|
101
|
-
trajectree/quimb/tests/test_tensor/test_decomp.py,sha256=o1zIDRY1ut833p4JVD-WQ1_B_cAC6442THRMeAZ7W7s,1004
|
|
102
|
-
trajectree/quimb/tests/test_tensor/test_mera.py,sha256=IfqjG-ScH4s78hw-JDayPgyIy9IpJrcCe1lDkLCjfNY,1648
|
|
103
|
-
trajectree/quimb/tests/test_tensor/test_optimizers.py,sha256=2V6DiWYwacc4FLfcbI9VlPyr1sRgKWTmRUsrWrewCqE,15032
|
|
104
|
-
trajectree/quimb/tests/test_tensor/test_tensor_1d.py,sha256=hTt0s8m52A_9ZdmKB4xi0ciP5G2CNNfvWKMSsIcg1JQ,41868
|
|
105
|
-
trajectree/quimb/tests/test_tensor/test_tensor_2d.py,sha256=vdbYJzGt686wR9z8mw9STX44o67SW-YDm563YuK9AvQ,20886
|
|
106
|
-
trajectree/quimb/tests/test_tensor/test_tensor_2d_tebd.py,sha256=Mw2Fpj8Up45oKByAkgZRvCR5v8-0-bQt9N-zoB1A1JE,4179
|
|
107
|
-
trajectree/quimb/tests/test_tensor/test_tensor_3d.py,sha256=0WqM5GIFiJyG9XMv9jFInXDRKgkGazF0geQHMzIh5Yk,4512
|
|
108
|
-
trajectree/quimb/tests/test_tensor/test_tensor_arbgeom.py,sha256=zO8HmdySKMZwslhdgbipmg2QxXiKpRwpihM5fOOaNUw,6063
|
|
109
|
-
trajectree/quimb/tests/test_tensor/test_tensor_builder.py,sha256=nPErh9_mjwD2zaSBnEhZFZDB9xlkgbqI7OhdLJWUwmA,15049
|
|
110
|
-
trajectree/quimb/tests/test_tensor/test_tensor_core.py,sha256=lImQyCcFeZ_8VsdWDeed_1hGCgcJZR3kzYJlZJ15lMM,74175
|
|
111
|
-
trajectree/quimb/tests/test_tensor/test_tensor_dmrg.py,sha256=FJ-XO7jHT00tFRPtp9W9bi3U4yK1gUlH9Ol8y_EtYkg,12332
|
|
112
|
-
trajectree/quimb/tests/test_tensor/test_tensor_spectral_approx.py,sha256=HAOmoQXmuHaCkcrr9GAmuhJw1nv_Kg6wgqysRINz8WY,1874
|
|
113
|
-
trajectree/quimb/tests/test_tensor/test_tensor_tebd.py,sha256=c5z5KimlQ4Tu19Kxt3rPIL_ia7Am4JeCKgBdW7cZjEs,8638
|
|
114
|
-
trajectree/quimb/tests/test_tensor/test_belief_propagation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
|
-
trajectree/quimb/tests/test_tensor/test_belief_propagation/test_d1bp.py,sha256=rf1rLVyf8hPvBlS9YlnYico9qBZDlnPFqcIJwA-50aE,1093
|
|
116
|
-
trajectree/quimb/tests/test_tensor/test_belief_propagation/test_d2bp.py,sha256=3dsd6R5YqNCB4FNwKvy9WlliCB73z87PSptCGP4iDko,2189
|
|
117
|
-
trajectree/quimb/tests/test_tensor/test_belief_propagation/test_hd1bp.py,sha256=kstycGS1Cs2DtztGYHPUWuAk9IoAXEuu6c_MEXL62RE,1899
|
|
118
|
-
trajectree/quimb/tests/test_tensor/test_belief_propagation/test_hv1bp.py,sha256=5cncurgbWoMQXr6KJDbmya683Hyw1gPgsvha__pJwk0,1527
|
|
119
|
-
trajectree/quimb/tests/test_tensor/test_belief_propagation/test_l1bp.py,sha256=NAOukSyIigKIP0c9Eh5ErTFTpiZJWSUvotvd4OnpXXU,4396
|
|
120
|
-
trajectree/quimb/tests/test_tensor/test_belief_propagation/test_l2bp.py,sha256=jzWUqdRi3tNS6inddZKUI82YWF9tmLwTILCdBgtCirw,3344
|
|
121
|
-
trajectree/sequence/swap.py,sha256=g7yWJg6Ow9D07GIHOxiINL6ao3jaAniGAhnW1AR_2ps,4288
|
|
122
|
-
trajectree-0.0.1.dist-info/licenses/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
|
123
|
-
trajectree-0.0.1.dist-info/METADATA,sha256=BBu9_SmRdvHqoKSwKynW4aky_gyVJ2cQ3RXfnfAW9h4,621
|
|
124
|
-
trajectree-0.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
125
|
-
trajectree-0.0.1.dist-info/top_level.txt,sha256=6x9i8aAZcVn5tZ9J-2IVQMTGdn4bw6DiSd8pR3v4VR8,11
|
|
126
|
-
trajectree-0.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|