Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
c68f662
docs: add new Ramsey POVM example
Gauthameshwar Sep 5, 2026
c09bfe4
feat: add thermal_mode for bath Gibbs states
Gauthameshwar Sep 5, 2026
97f1495
docs: use thermal_mode in thermal bath examples
Gauthameshwar Sep 5, 2026
09ee55b
docs: update landing page, install notes, and Liouville/PT examples
Gauthameshwar Sep 30, 2026
f30b471
docs: better landing page
Gauthameshwar Sep 30, 2026
6fa4aaa
docs: split process-tensor tutorials into construction and instruments
Gauthameshwar Sep 30, 2026
2e9d7c1
docs: rewrite tensor-network theory as a path to process tensors
Gauthameshwar Sep 30, 2026
b662b99
docs: polished liouville space theory
Gauthameshwar Sep 30, 2026
066c1d3
docs: more precise statements in pt theory
Gauthameshwar Sep 30, 2026
16a095b
chore: remove boundary-driven spin and tebd/tdvp examples
Gauthameshwar Oct 1, 2026
51618e5
docs: shorten unitary and dissipative TEBD/TDVP tutorials
Gauthameshwar Oct 1, 2026
91239fe
docs: concise pt-mpo construction in example
Gauthameshwar Oct 2, 2026
73f5306
add: support to do + in tester sequences
Gauthameshwar Oct 2, 2026
c431bd9
docs: detailed explanation of theory vs results
Gauthameshwar Oct 2, 2026
6371e31
docs: more concise example in rabi oscillations
Gauthameshwar Oct 2, 2026
6d6248d
docs: reduce the length of content
Gauthameshwar Oct 2, 2026
92d0a33
docs: better figure for noisy qubit tester
Gauthameshwar Oct 2, 2026
6181930
docs: better placement of the model equations
Gauthameshwar Oct 2, 2026
95307b0
docs: improve ramsey povm discussion
Gauthameshwar Oct 2, 2026
35d3c39
docs: tighten example physics and match executable runs
Gauthameshwar Oct 3, 2026
fe6d84b
scripts: shorten ACE companion scripts and drop the tester coherence …
Gauthameshwar Oct 3, 2026
6208313
docs: pin ACE compression and invalidate process-tensor caches
Gauthameshwar Oct 3, 2026
1c138ed
test: capture the empty-Hamiltonian warning with test_logs
Gauthameshwar Oct 3, 2026
7b880bd
docs: regenerate process-tensor figures on the corrected constructors
Gauthameshwar Oct 3, 2026
abf62e1
docs: replace theory diagram placeholders with TikZ figures
Gauthameshwar Oct 3, 2026
8c89d5a
cool feat: switch theory figures with the documentation theme
Gauthameshwar Oct 3, 2026
09cbaff
docs: minor corrections in indices and instruments
Gauthameshwar Oct 4, 2026
06070e6
manim: animate ACE compression of bath modes into a process tensor
Gauthameshwar Oct 4, 2026
57fc69c
manim: animate an instrument tape filling empty slots with identity
Gauthameshwar Oct 4, 2026
679db3e
manim: animate contracting one process tensor to a state or a scalar
Gauthameshwar Oct 4, 2026
cca16d2
docs: play the three homepage clips in the active documentation theme
Gauthameshwar Oct 4, 2026
7d64f67
manim: safer theme-specific gif rendering
Gauthameshwar Oct 4, 2026
1e7312e
fix: bad figures of povm and histogram fixed
Gauthameshwar Oct 4, 2026
1949dac
add cool gifs to README
Gauthameshwar Oct 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,28 @@ notes/*

# Literate-generated example pages (source: docs/literate/examples/*.jl)
/docs/src/examples/*.md
# Keep the hand-written instrument-sequences stub until it is Literate-migrated.
!/docs/src/examples/instrument_sequences.md

# Example figures copied from scripts/figures during docs/make.jl
/docs/src/assets/examples/

# LaTeX products from docs/tikz/build_svgs.sh
/docs/tikz/*.aux
/docs/tikz/*.log
/docs/tikz/*.out
/docs/tikz/*.pdf
/docs/tikz/*.dvi
/docs/tikz/*.toc
/docs/tikz/*.build.log

# Local throwaway project environments at any depth (e.g. .bench_env, .plot_env,
# scripts/.plot_examples_env). Trailing slash limits the match to directories.
.*env/
**/.*env/

# Manim render cache and draft outputs from docs/animations/*.py
/docs/animations/media/
__pycache__/

# Serialized process-tensor caches from companion scripts
scripts/.cache/

Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Removed

* **Boundary-driven XXZ example.** The Literate page, companion script, and
transport figure are no longer part of the documentation.
* **Unitary TFIM TEBD and TDVP examples.** The closed-system comparison pages,
companion scripts, and figures are removed. A short treatment remains in the
unitary-dynamics tutorial.

### Added

* **`thermal_mode`.** Build a bosonic or spin bath mode whose Liouville `rho0`
is the Gibbs state of the local mode Hamiltonian at temperature `T`, the
ground-state projector at `T = 0`, or the maximally mixed state at `T = Inf`.
Replacement methods keep Hamiltonian, sites, coupling, and `n_max`.
* **Ramsey POVM example.** A Literate walkthrough and companion ACE script
contract three unsharp ``X`` measure-and-reset instruments with a thermal
dephasing process tensor, then compare the joint record to a product of
single-round marginals. The companion script is `scripts/ramsey_povm.jl`
and writes separate protocol and record figures.
* **Testers and noisy quantum qubits example:** A Literate walkthrough and
companion ACE script demonstrate store–wait–retrieve control, tester-only
phase operations, joint trajectories, and system–tester mutual information.
Expand Down
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,35 @@ The same package can also be used before process tensors enter the story: closed
| **Run experiments on a process** | Assemble preparations, controls, measurements, left/right actions, trace-outs, and open legs into an `InstrumentSeq`, then contract it with `evaluate_process`. |
| **Reuse the same environment** | Once a process tensor is built, evolve new initial states with `evolve`, evaluate different protocols, or probe multi-time correlations without rebuilding the bath. |

In each clip below, time runs from right to left.

**Construct a process tensor:** Combine the influence of independent environmental modes and compress the resulting temporal bonds using ACE.

<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/src/assets/animations/ace-dark.gif">
<img src="docs/src/assets/animations/ace-light.gif" width="640" alt="Time runs right to left. Two environment modes over three time steps are absorbed column by column and compressed into a three-core process tensor with downward system legs.">
</picture>
</p>

**Customize your instruments:** Define the interventions you wish to perform on the system at chosen times; unspecified slots default to identity.

<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/src/assets/animations/instruments-dark.gif">
<img src="docs/src/assets/animations/instruments-light.gif" width="640" alt="Time runs right to left. A preparation, a custom map, and an open output snap into the slots of a three-step instrument tape; the unspecified slot is filled by an identity, leaving a filled instrument tape.">
</picture>
</p>

**Evaluate and reuse:** Contract the same process tensor with different instruments to obtain reduced states and expectation values.

<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/src/assets/animations/contraction-dark.gif">
<img src="docs/src/assets/animations/contraction-light.gif" width="900" alt="Time runs right to left. Two identical process tensors are contracted with instruments; the left ends as an open reduced state (triangle) and the right as a closed scalar (circle).">
</picture>
</p>

## Installation

Install the latest tagged release from GitHub:
Expand Down Expand Up @@ -135,8 +164,8 @@ The documentation is written as a progression rather than an API dump.

- **New to the tensor-network conventions?** Start with [ITensor Basics](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/tutorials/itensor_basics/) and [MPS and MPO Basics](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/tutorials/mps_mpo_basics/).
- **Want open-system dynamics first?** Go to [Liouville-Space Basics](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/tutorials/liouville_basics/) and [Dissipative Dynamics](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/tutorials/dissipative_dynamics/).
- **Here for process tensors?** Start with the [Single-Mode Process Tensor tutorial](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/tutorials/process_tensor_singlemode/), then move to the ACE examples.
- **Already know the theory?** Jump straight to the [Examples](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/examples/tebd_time_evolution/) or the [API Reference](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/api/).
- **Here for process tensors?** Start with [Construct your first process tensor](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/tutorials/process_tensor_singlemode/), then [Explore a process with instruments](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/tutorials/process_tensor_instruments/).
- **Already know the theory?** Jump straight to the [Examples](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/examples/spin_bath_process_tensor/) or the [API Reference](https://Gauthameshwar.github.io/ProcessTensors.jl/stable/api/).

## Contributing

Expand Down
2 changes: 2 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
ITensorMPS = "0d1a4710-d33b-49a5-8f18-73bdf49b47e2"
ITensors = "9136182c-28ba-11e9-034c-db9fb085ebd5"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Expand All @@ -9,6 +10,7 @@ ProcessTensors = "359c2eb2-a0cb-447a-868d-92de414ddc78"
[compat]
CairoMakie = "0.15"
Documenter = "1.17"
HDF5 = "0.17"
ITensorMPS = "0.3.44, 0.4"
ITensors = "0.9.25"
Literate = "2"
Expand Down
Loading
Loading