MCPcopy Create free account

hub / github.com/amilsted/evoMPS / functions

Functions2,094 in github.com/amilsted/evoMPS

Methodget_l
Gets an l[n], even if n < 0 or n > N + 1
evoMPS/mps_sandwich.py:599
Methodget_q
(self, n)
evoMPS/mps_sandwich.py:584
Methodget_r
Gets an r[n], even if n < 0 or n > N + 1
evoMPS/mps_sandwich.py:612
Functionget_streams
(A)
evoMPS/cuda_alternatives.py:45
Functiongo
A 'simple' integration loop for testing
evoMPS/tdvp_sandwich.py:19
Methodgrow_right
Grow the generic region to the right by m * L sites, where L is the uniform block size.
evoMPS/mps_sandwich.py:538
Functionifunc
(t, y)
evoMPS/dynamics.py:278
Methodinv
(self)
evoMPS/matmul.py:164
Functioninvmh
(A, ret_evd=False, evd=None)
evoMPS/matmul.py:419
Functioninvtr
Compute the inverse of a triangular matrix Uses the corresponding LAPACK routine. Parameters ---------- A : ndarray An upper
evoMPS/matmul.py:435
Methodload_state
(self, file_name, autogrow=False, do_update=True)
evoMPS/tdvp_sandwich.py:935
Methodload_state
(self, file_name, autogrow=False, do_update=True)
evoMPS/mps_sandwich.py:764
Methodload_state
(self, file, expand=False, truncate=False, expand_q=False, shrink_q=False, refac=0.1, imfac
evoMPS/tdvp_uniform.py:1595
Methodmatvec
Matrix-vector multiplication. Result = Ev or vE (if self.left == True).
evoMPS/cuda_alternatives.py:463
Methodmatvec
(self, v)
evoMPS/cuda_alternatives.py:560
Methodmatvec
(self, x)
evoMPS/tdvp_gen.py:201
Methodmatvec
(self, v)
evoMPS/mps_uniform_excite.py:403
Methodmatvec
(self, v)
evoMPS/mps_uniform_excite.py:738
MethodmaxD_is_less_than
(self, Dmax)
evoMPS/mps_uniform.py:189
Functionmps_from_tensors_gen
(A, do_update=True)
evoMPS/mps_gen.py:43
Functionnullspace
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
Functionnullspace_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
Methodopt_A
(n)
evoMPS/tdvp_gen.py:1276
Functionopt_conj_grad2
(sys, tol=1E-6)
evoMPS/dynamics.py:246
Functionopt_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
Methodoverlap_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
Methodphase_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
Functionpinv_1mE_brute_LOP
(A1, A2, lL, rL, p=0, pseudo=True, left=False)
evoMPS/mps_uniform_pinv.py:106
Functionplotter
(q)
examples/XXZ_edge_driven.py:211
Functionrandomize_cmplx
Randomizes a complex matrix in place.
evoMPS/matmul.py:349
Functionrank
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
Methodravel
(self)
evoMPS/matmul.py:170
Methodrestore_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
Functionrestore_LCF_l
(A, lm1, Gm1, sanity_checks=False, zero_tol=1E-15)
evoMPS/tdvp_common.py:1056
Functionrestore_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
Functionrestore_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
Functionrestore_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
Functionrestore_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
Functionrestore_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
Functionsandwich_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
Methodsanity_checks
Whether to perform additional (potentially costly) sanity checks.
evoMPS/mps_sandwich.py:218
Methodsave_state
(self, file_name, userdata=None)
evoMPS/mps_sandwich.py:197
Methodsave_state
(self, file, userdata=None)
evoMPS/tdvp_uniform.py:1504
MethodsetUp
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:19
MethodsetUp
(self)
evoMPS/tests/tdvp_common_tests.py:38
Methodset_q
Alter the single-site Hilbert-space dimension q. Any added parameters are set to zero. Parameters ----------
evoMPS/mps_uniform.py:1824
Methodset_q
(self, newq, offset=0)
evoMPS/tdvp_uniform.py:1617
Methodset_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
Methodsqrt
(self)
evoMPS/matmul.py:167
Functionsqrtmh
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
Functionsync_streams
(streams)
evoMPS/cuda_alternatives.py:51
Methodtake_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
Methodtest_calc_C_func_op
(self)
evoMPS/tests/tdvp_common_tests.py:245
Methodtest_calc_C_func_op_AA
(self)
evoMPS/tests/tdvp_common_tests.py:250
Methodtest_eps_l_noop
(self)
evoMPS/tests/tdvp_common_tests.py:79
Methodtest_eps_l_noop_diag
(self)
evoMPS/tests/tdvp_common_tests.py:86
Methodtest_eps_l_noop_eye
(self)
evoMPS/tests/tdvp_common_tests.py:93
Methodtest_eps_l_noop_inplace
(self)
evoMPS/tests/tdvp_common_tests.py:100
Methodtest_eps_l_op_1s
(self)
evoMPS/tests/tdvp_common_tests.py:175
Methodtest_eps_l_op_2s_AA12_C34
(self)
evoMPS/tests/tdvp_common_tests.py:238
Methodtest_eps_r_noop
(self)
evoMPS/tests/tdvp_common_tests.py:110
Methodtest_eps_r_noop_diag
(self)
evoMPS/tests/tdvp_common_tests.py:123
Methodtest_eps_r_noop_eye
(self)
evoMPS/tests/tdvp_common_tests.py:130
Methodtest_eps_r_noop_inplace
(self)
evoMPS/tests/tdvp_common_tests.py:165
Methodtest_eps_r_noop_multi
(self)
evoMPS/tests/tdvp_common_tests.py:137
Methodtest_eps_r_op_1s
(self)
evoMPS/tests/tdvp_common_tests.py:182
Methodtest_eps_r_op_2s_A
(self)
evoMPS/tests/tdvp_common_tests.py:189
Methodtest_eps_r_op_2s_AA12
(self)
evoMPS/tests/tdvp_common_tests.py:196
Methodtest_eps_r_op_2s_AA12_C34
(self)
evoMPS/tests/tdvp_common_tests.py:231
Methodtest_eps_r_op_2s_AA_func_op
(self)
evoMPS/tests/tdvp_common_tests.py:203
Methodtest_eps_r_op_2s_C12
(self)
evoMPS/tests/tdvp_common_tests.py:210
Methodtest_eps_r_op_2s_C12_AA34
(self)
evoMPS/tests/tdvp_common_tests.py:224
Methodtest_eps_r_op_2s_C34
(self)
evoMPS/tests/tdvp_common_tests.py:217
Methodtest_inv_AB_left_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:115
Methodtest_inv_AB_left_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:131
Methodtest_inv_AB_right_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:107
Methodtest_inv_AB_right_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:123
Methodtest_ising_crit_im_tdvp
(self)
evoMPS/tests/tdvp_gen_test_ising.py:32
Methodtest_ising_crit_im_tdvp_DMRG
(self)
evoMPS/tests/tdvp_gen_test_ising.py:145
Methodtest_ising_crit_im_tdvp_RK4
(self)
evoMPS/tests/tdvp_gen_test_ising.py:66
Methodtest_ising_crit_im_tdvp_auto_trunc
(self)
evoMPS/tests/tdvp_gen_test_ising.py:168
Methodtest_ising_crit_im_tdvp_dynexp
(self)
evoMPS/tests/tdvp_gen_test_ising.py:189
Methodtest_ising_crit_im_tdvp_split_step
(self)
evoMPS/tests/tdvp_gen_test_ising.py:96
Methodtest_pinv_AA_left_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:80
Methodtest_pinv_AA_left_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:98
Methodtest_pinv_AA_right_p0
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:72
Methodtest_pinv_AA_right_p0_rank_def
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:139
Methodtest_pinv_AA_right_p2
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:89
Methodtest_pinv_linop
(self)
evoMPS/tests/mps_uniform_pinv_tests.py:55
Methodtrace
(self, offset=0)
evoMPS/matmul.py:176
Methodupdate
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
Methodupdate_Heff_left
(n)
evoMPS/tdvp_gen.py:1288
Methodupdate_Heff_right
(n)
evoMPS/tdvp_gen.py:1308
Functionwriter
(q)
examples/XXZ_edge_driven.py:293
← previous2,001–2,094 of 2,094, ranked by callers