Skip to content

Commit

Permalink
re-arrange docs pages
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuabmoore committed Dec 26, 2024
1 parent e815243 commit 7e2780f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ makedocs(
plugins = [bib],
pages = [
"Introduction" => "index.md",
"Tutorial: Classification" => "tutorial.md",
"Classification" => "classification.md",
"Imputation" => "imputation.md",
"Synthetic Data Generation" => "synthdatagen.md",
"Encodings" => "encodings.md",
Expand Down
5 changes: 1 addition & 4 deletions docs/src/tutorial.md → docs/src/classification.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ julia> mean(predictions .== y_test)
0.925
```

## Imputation
See [Imputation](@ref Imputation_top)

## Training with a custom basis
To train with a custom basis, first, declare a custom basis with [`function_basis`](@ref), and pass it in as the last argument to [`fitMPS`](@ref). For this to work, the encoding hyperparameter must be set to `:Custom` in `MPSOptions`

Expand All @@ -166,4 +163,4 @@ fitMPS(::Matrix, ::Vector, ::Matrix, ::Vector, ::MPSOptions, ::Nothing)
sweep_summary(info)
get_training_summary(mps::TrainedMPS, test_states::EncodedTimeSeriesSet)
print_opts
```
```
1 change: 1 addition & 0 deletions docs/src/imputation.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ julia> using Plots
julia> plot(plots...)
```
![](./figures/median_impute.svg)

The solid orange line depicts the "ground-truth" (observed) time-series values, the dotted blue line is the MPS-imputed data points and the dotted red line is the 1-NNI baseline.
The blue shading indicates the uncertainty due to encoding error.

Expand Down
5 changes: 4 additions & 1 deletion docs/src/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ where ``\rho_i`` is the reduced density matrix (rdm) at site ``i``, obtained by
and ``\ket{\psi}`` is the MPS.
Using the 1D spin-chain as an illustrative example, the SEE between a single site (dark blue) and the rest of the system (light blue) can be depicted as:

![](./figures/tools/see.svg)
<p align="center" width="100%">
<img src=./figures/tools/see.svg>
</p>

#### (2) Bipartite entanglement entropy (BEE)
The bipartite entanglement entropy (BEE) quantifies the quantum entanglement between two complementary subsystems of a matrix product state (MPS).
For an MPS with ``N`` sites, we can create a bipartition by splitting the system at any bond ``l``, resulting in region ``A`` (sites ``1`` to ``l``) and region ``B`` (sites ``l+1`` to ``N``).
Expand Down

0 comments on commit 7e2780f

Please sign in to comment.