Skip to content

Qqamber/phys-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physics Codes

DMRG

A finite(infinite) dmrg code based on White's paper.

Refer to Density matrix formulation for quantum renormalization groups and Density-matrix algorithms for quantum renormalization groups for details.

And also a dmrg code based on mps.

In mathematica, we use TensorContract, TensorProduct, ArrayReshape and Transpose to handle the index implementations. And using Inactive, Activate with TensorContract, TensorProduct can improve the performance of the contraction of tensors.

Refer to empter's note for the index convention in the code.

iTEBD

A mathematica code for itebd and an itensor version based on Vidal's paper.

Refer to Efficient classical simulation of slightly entangled quantum computations, Efficient simulation of one-dimensional quantum many-body systems and Classical simulation of infinite-size quantum lattice systems in one spatial dimension for details.

The itensor version code is based on Itensor library v3. You can refer to itensor's home page for the installation. A good tutorial on windows OS can refer to empter's repository, too.

TDVP

A mathematica code for tdvp.

Refer to Unifying time evolution and optimization with matrix product states for details.

We use the krylov subspace method to implement the action of an exponential of hermitian operators.

Model Check

A code aims to check the numerical results of the algorithms above for small spin systems, which has an itensor alike interface to handle the Hamiltonian terms. Partial trace for the system(or environment) is supported.

About

Physics codes just for study purpose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages