Skip to content

Commit 082521f

Browse files
committed
deploy docs on github.io
1 parent 4efa04f commit 082521f

2 files changed

Lines changed: 41 additions & 39 deletions

File tree

.github/workflows/CI.yml

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1414
jobs:
1515
test:
16-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
16+
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
1717
runs-on: ${{ matrix.os }}
1818
timeout-minutes: 60
1919
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
@@ -29,14 +29,11 @@ jobs:
2929
- ubuntu-latest
3030
- macOS-latest
3131
- windows-latest
32-
arch:
33-
- x64
3432
steps:
3533
- uses: actions/checkout@v6
3634
- uses: julia-actions/setup-julia@v2
3735
with:
3836
version: ${{ matrix.version }}
39-
arch: ${{ matrix.arch }}
4037
- uses: julia-actions/cache@v3
4138
- uses: julia-actions/julia-buildpkg@v1
4239
- uses: julia-actions/julia-runtest@v1
@@ -46,28 +43,36 @@ jobs:
4643
files: lcov.info
4744
token: ${{ secrets.CODECOV_TOKEN }}
4845
fail_ci_if_error: false
49-
# docs:
50-
# name: Documentation
51-
# runs-on: ubuntu-latest
52-
# permissions:
53-
# actions: write # needed to allow julia-actions/cache to delete old caches
54-
# contents: write
55-
# statuses: write
56-
# steps:
57-
# - uses: actions/checkout@v6
58-
# - uses: julia-actions/setup-julia@v2
59-
# with:
60-
# version: '1'
61-
# - uses: julia-actions/cache@v3
62-
# - uses: julia-actions/julia-buildpkg@v1
63-
# - uses: julia-actions/julia-docdeploy@v1
64-
# env:
65-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
67-
# - name: Run doctests
68-
# shell: julia --project=docs --color=yes {0}
69-
# run: |
70-
# using Documenter: DocMeta, doctest
71-
# using QILaplace
72-
# DocMeta.setdocmeta!(QILaplace, :DocTestSetup, :(using QILaplace); recursive=true)
73-
# doctest(QILaplace)
46+
docs:
47+
name: Documentation
48+
runs-on: ubuntu-latest
49+
permissions:
50+
actions: write # needed to allow julia-actions/cache to delete old caches
51+
contents: write
52+
statuses: write
53+
steps:
54+
- uses: actions/checkout@v6
55+
- uses: julia-actions/setup-julia@v2
56+
with:
57+
version: '1'
58+
- uses: julia-actions/cache@v3
59+
- name: Install docs dependencies
60+
shell: julia --color=yes {0}
61+
run: |
62+
using Pkg
63+
Pkg.activate("docs")
64+
Pkg.develop(PackageSpec(path=pwd()))
65+
Pkg.instantiate()
66+
- name: Run doctests
67+
shell: julia --color=yes {0}
68+
run: |
69+
using Pkg
70+
Pkg.activate("docs")
71+
using Documenter: DocMeta, doctest
72+
using QILaplace
73+
DocMeta.setdocmeta!(QILaplace, :DocTestSetup, :(using QILaplace); recursive=true)
74+
doctest(QILaplace)
75+
- uses: julia-actions/julia-docdeploy@v1
76+
env:
77+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@
2626
</a>
2727
</p>
2828

29-
<p align="center">
30-
<a href="https://SUTD-MDQS.github.io/QILaplace.jl">
31-
<img src="https://img.shields.io/badge/Read%20the%20Documentation-QILaplace%20Docs-9558B2?style=for-the-badge&logo=julia&logoColor=white" alt="Read the Documentation">
32-
</a>
33-
</p>
29+
[![Read the Documentation](https://img.shields.io/badge/Read%20the%20Documentation-QILaplace%20Docs-9558B2?style=for-the-badge&logo=julia&logoColor=white)](https://SUTD-MDQS.github.io/QILaplace.jl)
3430

3531
<p align="center">
3632
<a href="#what-this-package-provides">What this package provides</a> •
@@ -40,7 +36,7 @@
4036
<a href="#authorship-and-maintenance">Authorship</a>
4137
</p>
4238

43-
QILaplace.jl is a Julia package for running Fourier- and Laplace-family transforms with tensor networks on classical hardware. It is designed for large, structured signals where compressed MPS/MPO representations make dense workflows impractical.
39+
QILaplace.jl is a Julia package for Fourier- and Laplace-style transforms using tensor networks on classical hardware. It is built for large, structured signals, where compressed MPS/MPO representations keep these transforms practical when dense workflows become too expensive.
4440

4541
The package includes QFT, damping-transform (DT), and full z-transform (zT) pipelines, together with MPS compression, MPO construction, and direct coefficient extraction tools.
4642

@@ -70,16 +66,17 @@ DT and zT use the same high-level API style as QFT, so moving between Fourier an
7066
- Build compressed transform operators with `build_qft_mpo`, `build_dt_mpo`, and `build_zt_mpo`
7167
- Apply through the same contraction interface (`W * ψ`)
7268
- Keep transform accuracy under explicit truncation control
69+
- The circuit-compression construction is strictly optimal for these transform circuits.
7370

7471
<p align="center">
7572
<img src="docs/src/animations/assets/CircuitCompression.gif" alt="QFT circuit compression animation" width="390">
7673
<img src="docs/src/animations/assets/DTCircuitCompression.gif" alt="DT circuit compression animation" width="390">
7774
</p>
7875

7976
For full circuit diagrams and examples, see:
80-
- https://SUTD-MDQS.github.io/QILaplace.jl/tutorials/dft/
81-
- https://SUTD-MDQS.github.io/QILaplace.jl/tutorials/dt/
82-
- https://SUTD-MDQS.github.io/QILaplace.jl/tutorials/zt/
77+
- [Discrete Fourier Transform](https://SUTD-MDQS.github.io/QILaplace.jl/dev/tutorials/dft/)
78+
- [Damping Transform](https://SUTD-MDQS.github.io/QILaplace.jl/dev/tutorials/dt/)
79+
- [Complex Laplace Transform](https://SUTD-MDQS.github.io/QILaplace.jl/dev/tutorials/zt/)
8380

8481
### 3) z-domain analysis and pole scanning
8582

@@ -148,7 +145,7 @@ T_{\mathrm{apply}} \sim O\left( \chi_s^2 \log N \right).
148145
$$
149146

150147
For full benchmarks and runtime plots, see:
151-
**https://SUTD-MDQS.github.io/QILaplace.jl/benchmarking/**
148+
**https://SUTD-MDQS.github.io/QILaplace.jl/dev/benchmarking/**
152149

153150
## Authorship and maintenance
154151

0 commit comments

Comments
 (0)