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 ProcessTensorsProcessTensors.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.jlNew to Julia?
If you are new to Julia, these resources are a good starting point:
- Install Julia — official installation instructions.
- Julia manual: Getting started — running Julia, using the REPL, and getting help.
- Pkg.jl: Getting started — installing packages and working with Julia projects.
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.
At the julia> prompt, prefix a name with ? to open its docstring:
julia> ?to_liouvillejulia> ?ProcessTensors.build_process_tensorFor 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.