Skip to content

Lightweight adapter package providing seamless conversions between MPSKit.jl and other Julia tensor libraries using package extensions.

License

Notifications You must be signed in to change notification settings

ManyBodyLab/MPSKitAdapters.jl

Repository files navigation

MPSKitAdapters.jl

Documentation Downloads
Downloads
Build Status Coverage Style Guide Quality assurance
CI Codecov code style: runic Aqua QA

MPSKitAdapters.jl provides adapters to convert between the AbstractMPS and AbstractMPO types of MPSKit.jl and other tensor libraries like ITensorMPS.jl or ITensorIMPS.jl.

Installation

The package is not yet registered in the Julia general registry. It can be installed trough the package manager with the following command:

pkg> add [email protected]:ManyBodyLab/MPSKitAdapters.jl.git

Code Samples

julia> using MPSKitAdapters, MPSKit, ITensorMPS
julia> mps_it = random_mps(siteinds("S=1/2", 10); linkdims=10);
julia> mps_mk = FiniteMPS(mps_it);
julia> mps_it_reconstructed = MPS(mps_mk);
julia> mps_mk_reconstructed = FiniteMPS(mps_it_reconstructed);
julia> mps_it  mps_it_reconstructed
true 
julia> mps_mk  mps_mk_reconstructed 
true

License

MPSKitAdapters.jl is licensed under the MIT License. By using or interacting with this software in any way, you agree to the license of this software.

About

Lightweight adapter package providing seamless conversions between MPSKit.jl and other Julia tensor libraries using package extensions.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages