Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amilsted/evoMPS
/ functions
Functions
2,094 in github.com/amilsted/evoMPS
⨍
Functions
2,094
◇
Types & classes
86
Method
get_l
Gets an l[n], even if n < 0 or n > N + 1
evoMPS/mps_sandwich.py:599
Method
get_q
(self, n)
evoMPS/mps_sandwich.py:584
Method
get_r
Gets an r[n], even if n < 0 or n > N + 1
evoMPS/mps_sandwich.py:612
Function
get_streams
(A)
evoMPS/cuda_alternatives.py:45
Function
go
A 'simple' integration loop for testing
evoMPS/tdvp_sandwich.py:19
Method
grow_right
Grow the generic region to the right by m * L sites, where L is the uniform block size.
evoMPS/mps_sandwich.py:538
Function
ifunc
(t, y)
evoMPS/dynamics.py:278
Method
inv
(self)
evoMPS/matmul.py:164
Function
invmh
(A, ret_evd=False, evd=None)
evoMPS/matmul.py:419
Function
invtr
Compute the inverse of a triangular matrix Uses the corresponding LAPACK routine. Parameters ---------- A : ndarray An upper
evoMPS/matmul.py:435
Method
load_state
(self, file_name, autogrow=False, do_update=True)
evoMPS/tdvp_sandwich.py:935
Method
load_state
(self, file_name, autogrow=False, do_update=True)
evoMPS/mps_sandwich.py:764
Method
load_state
(self, file, expand=False, truncate=False, expand_q=False, shrink_q=False, refac=0.1, imfac
evoMPS/tdvp_uniform.py:1595
Method
matvec
Matrix-vector multiplication. Result = Ev or vE (if self.left == True).
evoMPS/cuda_alternatives.py:463
Method
matvec
(self, v)
evoMPS/cuda_alternatives.py:560
Method
matvec
(self, x)
evoMPS/tdvp_gen.py:201
Method
matvec
(self, v)
evoMPS/mps_uniform_excite.py:403
Method
matvec
(self, v)
evoMPS/mps_uniform_excite.py:738
Method
maxD_is_less_than
(self, Dmax)
evoMPS/mps_uniform.py:189
Function
mps_from_tensors_gen
(A, do_update=True)
evoMPS/mps_gen.py:43
Function
nullspace
Compute an approximate basis for the nullspace of A. The algorithm used by this function is based on the singular value decomposition of `A`.
evoMPS/nullspace.py:56
Function
nullspace_qr
Compute an approximate basis for the nullspace of A. The algorithm used by this function is based on the QR decomposition of `A`. Parame
evoMPS/nullspace.py:98
Method
opt_A
(n)
evoMPS/tdvp_gen.py:1276
Function
opt_conj_grad2
(sys, tol=1E-6)
evoMPS/dynamics.py:246
Function
opt_grad_descent
(sys, tol=1E-6, h_init=0.01, max_itr=10000, im_gap=5, gap_every=1, cb_func=None)
evoMPS/dynamics.py:203
Method
overlap_tangent
Inner product of the state with an MPS tangent vector. Assumes the uniform left and right parts of the tangent vector terms are define
evoMPS/mps_sandwich.py:715
Method
phase_align
Adjusts the parameter tensor A by a phase-factor to align it with another state. This ensures that the largest eigenvalue of the over
evoMPS/mps_uniform.py:1136
Function
pinv_1mE_brute_LOP
(A1, A2, lL, rL, p=0, pseudo=True, left=False)
evoMPS/mps_uniform_pinv.py:106
Function
plotter
(q)
examples/XXZ_edge_driven.py:211
Function
randomize_cmplx
Randomizes a complex matrix in place.
evoMPS/matmul.py:349
Function
rank
Estimate the rank (i.e. the dimension of the nullspace) of a matrix. The algorithm used by this function is based on the singular value decom
evoMPS/nullspace.py:14
Method
ravel
(self)
evoMPS/matmul.py:170
Method
restore_LCF
Restores left canonical form. In this form, self.l = sp.eye(self.D) and self.r is diagonal, with the squared Schmidt coeffici
evoMPS/mps_uniform.py:894
Function
restore_LCF_l
(A, lm1, Gm1, sanity_checks=False, zero_tol=1E-15)
evoMPS/tdvp_common.py:1056
Function
restore_LCF_l_seq
Transforms a sequence of A[n]'s to obtain l[n] = eye(D). Implements the condition for left-orthonormalization. Uses a reduced QR (RQ
evoMPS/tdvp_common.py:974
Function
restore_LCF_r_seq
Transforms a sequence of A to obtain diagonal r. See restore_LCF_r. Parameters ---------- A : sequence of ndarray
evoMPS/tdvp_common.py:1025
Function
restore_RCF_l_seq
Transforms a sequence of A to obtain diagonal l. See restore_RCF_l. Parameters ---------- A : sequence of ndarray Th
evoMPS/tdvp_common.py:787
Function
restore_RCF_r
Transforms a single A[n] to obtain r[n - 1] = eye(D). Implements the condition for right-orthonormalization from sub-section 3.1, theorem 1 o
evoMPS/tdvp_common.py:821
Function
restore_RCF_r_seq
Transforms a sequence of A[n]'s to obtain r[n - 1] = eye(D). Implements the condition for right-orthonormalization from sub-section 3.1,
evoMPS/tdvp_common.py:735
Function
sandwich_from_tensors
Creates a sandwich state from a collection of MPS tensors. `As_L` is the left uniform bulk unit cell. `As_C` is the central nonuniform window.
evoMPS/mps_sandwich.py:19
Method
sanity_checks
Whether to perform additional (potentially costly) sanity checks.
evoMPS/mps_sandwich.py:218
Method
save_state
(self, file_name, userdata=None)
evoMPS/mps_sandwich.py:197
Method
save_state
(self, file, userdata=None)
evoMPS/tdvp_uniform.py:1504
Method
setUp
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:19
Method
setUp
(self)
evoMPS/tests/tdvp_common_tests.py:38
Method
set_q
Alter the single-site Hilbert-space dimension q. Any added parameters are set to zero. Parameters ----------
evoMPS/mps_uniform.py:1824
Method
set_q
(self, newq, offset=0)
evoMPS/tdvp_uniform.py:1617
Method
set_state_product
Initializes the parameter tensors self.A from a pure product state. The state psi is given as a list of self.N self.q-dimensional vectors.
evoMPS/mps_gen.py:212
Method
sqrt
(self)
evoMPS/matmul.py:167
Function
sqrtmh
Return the matrix square root of a hermitian or symmetric matrix Uses scipy.linalg.eigh() to diagonalize the input efficiently. Parameters
evoMPS/matmul.py:356
Function
sync_streams
(streams)
evoMPS/cuda_alternatives.py:51
Method
take_step_RK4
Take a step using the fourth-order explicit Runge-Kutta method. This requires more memory than a simple forward Euler step.
evoMPS/tdvp_uniform.py:681
Method
test_calc_C_func_op
(self)
evoMPS/tests/tdvp_common_tests.py:245
Method
test_calc_C_func_op_AA
(self)
evoMPS/tests/tdvp_common_tests.py:250
Method
test_eps_l_noop
(self)
evoMPS/tests/tdvp_common_tests.py:79
Method
test_eps_l_noop_diag
(self)
evoMPS/tests/tdvp_common_tests.py:86
Method
test_eps_l_noop_eye
(self)
evoMPS/tests/tdvp_common_tests.py:93
Method
test_eps_l_noop_inplace
(self)
evoMPS/tests/tdvp_common_tests.py:100
Method
test_eps_l_op_1s
(self)
evoMPS/tests/tdvp_common_tests.py:175
Method
test_eps_l_op_2s_AA12_C34
(self)
evoMPS/tests/tdvp_common_tests.py:238
Method
test_eps_r_noop
(self)
evoMPS/tests/tdvp_common_tests.py:110
Method
test_eps_r_noop_diag
(self)
evoMPS/tests/tdvp_common_tests.py:123
Method
test_eps_r_noop_eye
(self)
evoMPS/tests/tdvp_common_tests.py:130
Method
test_eps_r_noop_inplace
(self)
evoMPS/tests/tdvp_common_tests.py:165
Method
test_eps_r_noop_multi
(self)
evoMPS/tests/tdvp_common_tests.py:137
Method
test_eps_r_op_1s
(self)
evoMPS/tests/tdvp_common_tests.py:182
Method
test_eps_r_op_2s_A
(self)
evoMPS/tests/tdvp_common_tests.py:189
Method
test_eps_r_op_2s_AA12
(self)
evoMPS/tests/tdvp_common_tests.py:196
Method
test_eps_r_op_2s_AA12_C34
(self)
evoMPS/tests/tdvp_common_tests.py:231
Method
test_eps_r_op_2s_AA_func_op
(self)
evoMPS/tests/tdvp_common_tests.py:203
Method
test_eps_r_op_2s_C12
(self)
evoMPS/tests/tdvp_common_tests.py:210
Method
test_eps_r_op_2s_C12_AA34
(self)
evoMPS/tests/tdvp_common_tests.py:224
Method
test_eps_r_op_2s_C34
(self)
evoMPS/tests/tdvp_common_tests.py:217
Method
test_inv_AB_left_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:115
Method
test_inv_AB_left_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:131
Method
test_inv_AB_right_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:107
Method
test_inv_AB_right_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:123
Method
test_ising_crit_im_tdvp
(self)
evoMPS/tests/tdvp_gen_test_ising.py:32
Method
test_ising_crit_im_tdvp_DMRG
(self)
evoMPS/tests/tdvp_gen_test_ising.py:145
Method
test_ising_crit_im_tdvp_RK4
(self)
evoMPS/tests/tdvp_gen_test_ising.py:66
Method
test_ising_crit_im_tdvp_auto_trunc
(self)
evoMPS/tests/tdvp_gen_test_ising.py:168
Method
test_ising_crit_im_tdvp_dynexp
(self)
evoMPS/tests/tdvp_gen_test_ising.py:189
Method
test_ising_crit_im_tdvp_split_step
(self)
evoMPS/tests/tdvp_gen_test_ising.py:96
Method
test_pinv_AA_left_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:80
Method
test_pinv_AA_left_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:98
Method
test_pinv_AA_right_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:72
Method
test_pinv_AA_right_p0_rank_def
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:139
Method
test_pinv_AA_right_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:89
Method
test_pinv_linop
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:55
Method
trace
(self, offset=0)
evoMPS/matmul.py:176
Method
update
Updates secondary quantities to reflect the state parameters self.A. Must be used after taking a step or otherwise changing the
evoMPS/tdvp_gen_diss.py:70
Method
update_Heff_left
(n)
evoMPS/tdvp_gen.py:1288
Method
update_Heff_right
(n)
evoMPS/tdvp_gen.py:1308
Function
writer
(q)
examples/XXZ_edge_driven.py:293
← previous
2,001–2,094 of 2,094, ranked by callers