File tree Expand file tree Collapse file tree 6 files changed +38
-0
lines changed Expand file tree Collapse file tree 6 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 2929 version : ' 1'
3030 - uses : julia-actions/cache@v2
3131 - uses : julia-actions/julia-buildpkg@v1
32+ with :
33+ precompile : true
3234 - uses : cardinalby/export-env-action@v1
3335 with :
3436 envFile : ' _environment'
Original file line number Diff line number Diff line change 44* .jl.cov
55* .jl. * .cov
66* .jl.mem
7+
78Manifest.toml
89
910.vscode
2526/index_files /
2627/_site /
2728/_output /
29+ * .html
30+ /site_libs /
Original file line number Diff line number Diff line change 1+ JULIA: =julia
12QUARTO: =quarto
23
34include _environment
45
56default : help
67
78render :
9+ ${JULIA} --project=@. -e ' import Pkg; Pkg.instantiate(); Pkg.resolve(); Pkg.precompile(); using QuantumToolbox, HierarchicalEOM;'
10+ ${JULIA} --project=@. -e ' using QuantumToolbox, HierarchicalEOM;'
811 ${QUARTO} render
912
1013preview :
Original file line number Diff line number Diff line change 1+ ---
2+ title : " Jaynes Cummings Model"
3+ # subtitle: ""
4+ author : Alberto Mercurio
5+
6+ engine : julia
7+ ---
8+
9+ ``` {julia}
10+ using QuantumToolbox
11+
12+ QuantumToolbox.versioninfo()
13+ ```
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ The tutorials are built upon [Quarto](https://quarto.org).
1414
1515After installing both [ ` Julia ` ] ( https://julialang.org/ ) and [ Quarto] ( https://quarto.org ) , the steps to build the tutorials are:
1616
17+ > [ !NOTE]
18+ > All the following commands should be run under the root folder of this repository: ` /path/to/qutip-julia-tutorials/ `
19+
1720### First, render the files:
1821
1922``` shell
@@ -22,6 +25,8 @@ make render
2225or
2326``` shell
2427source _environment
28+ julia --project=@. -e ' import Pkg; Pkg.instantiate(); Pkg.resolve(); Pkg.precompile()'
29+ julia --project=@. -e ' using QuantumToolbox, HierarchicalEOM;'
2530quarto render
2631```
2732
Original file line number Diff line number Diff line change @@ -11,3 +11,15 @@ using InteractiveUtils
1111
1212versioninfo()
1313```
14+
15+ ``` {julia}
16+ using QuantumToolbox
17+
18+ QuantumToolbox.versioninfo()
19+ ```
20+
21+ ``` {julia}
22+ using HierarchicalEOM
23+
24+ HierarchicalEOM.versioninfo()
25+ ```
You can’t perform that action at this time.
0 commit comments