Installation

ProcessTensors.jl requires Julia 1.10 or later. The package is under active development and is installed from GitHub for v0.1.0; it is not yet on the General Registry.

Install the package

From the Julia REPL, install the v0.1.0 release:

using Pkg
Pkg.add(url="https://github.com/Gauthameshwar/ProcessTensors.jl", rev="v0.1.0")

To track the latest development version on main:

using Pkg
Pkg.add(url="https://github.com/Gauthameshwar/ProcessTensors.jl")

Then load it in a session:

using ITensors
using ProcessTensors

ProcessTensors.jl builds on ITensors.jl and ITensorMPS.jl. Those packages are installed automatically as dependencies.

Development install

To work on a local checkout:

using Pkg
Pkg.develop(path="/path/to/ProcessTensors.jl")

Or, from the package root in the Pkg REPL (]):

dev .

Run the test suite from the package root:

using Pkg
Pkg.test("ProcessTensors")

Build the documentation locally

using Pkg
Pkg.activate("docs")
Pkg.instantiate()

Then:

include("docs/make.jl")

Or from the shell:

julia --project=docs docs/make.jl

New to Julia?

If you are new to Julia, these resources are a good starting point:

For tensor-network work in Julia, also skim the ITensors.jl and ITensorMPS.jl docs. Much of the syntax in ProcessTensors.jl follows those conventions.

Search Julia help from the REPL

At the julia> prompt, prefix a name with ? to open its docstring:

julia> ?to_liouville
julia> ?ProcessTensors.build_process_tensor

For a broader search across installed packages, use ??:

julia> ?? "liouville"

This is often the fastest way to check argument order, keyword names, and which module exports a function you have seen in a tutorial.