Skip to content

Commit 17c14e3

Browse files
committed
Merge remote-tracking branch 'upstream/dev.qsystem' into add-jcm
2 parents a41e0c0 + ad896bb commit 17c14e3

25 files changed

+3676
-1681
lines changed

.github/workflows/nightly_ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
cd ..
6666
python -m pip install git+https://github.com/qutip/qutip-qip
6767
python -m pip install --no-deps git+https://github.com/qutip/qutip-jax
68+
python -m pip install --no-deps git+https://github.com/qutip/qutip-qoc
6869
6970
git clone -b master https://github.com/qutip/qutip-qtrl.git
7071
cd qutip-qtrl
@@ -95,7 +96,7 @@ jobs:
9596
run: |
9697
jupyter kernel &
9798
cd notebooks
98-
find . -name '*.ipynb' -exec pytest --nbmake --overwrite --nbmake-timeout=600 {} +
99+
find . -name '*.ipynb' -exec pytest --nbmake --overwrite --nbmake-timeout=900 {} +
99100
rm template.ipynb
100101
101102
- name: Create Notebook Artifact

.github/workflows/notebook_ci.yaml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
folder-path: tutorials-v${{ matrix.qutip-version }}
3030
#use config file to define 403 and 405 errors as valid links
3131
#(APS blocks this link check)
32-
config-file: mlc_config.json
32+
config-file: mlc_external_config.json
3333

3434
- name: Setup Conda
3535
uses: conda-incubator/setup-miniconda@v3
@@ -59,14 +59,15 @@ jobs:
5959
- name: Install QuTiP
6060
run: |
6161
pip install --upgrade pip
62-
python -m pip install jax jax[cpu] equinox diffrax
62+
python -m pip install "jax<0.7.0" "jax[cpu]<0.7.0" equinox diffrax
6363
git clone -b ${{ matrix.qutip-branch }} https://github.com/qutip/qutip.git
6464
cd qutip
6565
pip install -r requirements.txt
6666
pip install .
6767
cd ..
6868
python -m pip install git+https://github.com/qutip/qutip-qip
6969
python -m pip install --no-deps git+https://github.com/qutip/qutip-jax
70+
python -m pip install --no-deps git+https://github.com/qutip/qutip-qoc
7071
7172
git clone -b master https://github.com/qutip/qutip-qtrl.git
7273
cd qutip-qtrl
@@ -97,7 +98,7 @@ jobs:
9798
run: |
9899
jupyter kernel &
99100
cd notebooks
100-
find . -name '*.ipynb' -exec pytest --nbmake --overwrite --nbmake-timeout=600 {} +
101+
find . -name '*.ipynb' -exec pytest --nbmake --overwrite --nbmake-timeout=900 {} +
101102
rm template.ipynb
102103
103104
- name: Create Notebook Artifact
@@ -107,6 +108,15 @@ jobs:
107108
path: |
108109
notebooks/*.ipynb
109110
notebooks/**/*.ipynb
111+
112+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
113+
with:
114+
use-quiet-mode: 'yes'
115+
folder-path: tutorials-v${{ matrix.qutip-version }}
116+
#use config file to define 403 and 405 errors as valid links
117+
#(APS blocks this link check)
118+
config-file: mlc_config.json
119+
110120
publish:
111121
needs: pytests
112122
runs-on: ubuntu-latest
@@ -133,20 +143,21 @@ jobs:
133143
# Download resources from qutip.github.io repository
134144
mkdir css
135145
cd css
136-
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/css/bootstrap.css
137146
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/css/site.css
138147
cd ..
139148
140149
mkdir _includes
141150
cd _includes
142-
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/footer.html
143-
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/header.html
151+
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/head.html
144152
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/navbar.html
153+
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/footer.html
154+
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/_includes/scripts.html
145155
cd ..
146156
147157
mkdir images
148158
cd images
149159
wget https://raw.githubusercontent.com/qutip/qutip.github.io/master/images/favicon.ico
160+
wget https://raw.githubusercontent.com/langhaarzombie/langhaarzombie.github.io/develop/images/logo_small.png
150161
cd ..
151162
152163
# build the website

mlc_external_config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"projectBaseUrl":"${workspaceFolder}",
3+
"timeout": "20s",
4+
"retryOn429": true,
5+
"retryCount": 5,
6+
"fallbackRetryDelay": "30s",
7+
"aliveStatusCodes": [200, 206, 403, 405],
8+
"ignorePatterns": [
9+
{
10+
"pattern": "^(/|\\.\\/|\\.\\./)"
11+
}
12+
]
13+
}
14+

tutorials-v4/heom/heom-5a-fermions-single-impurity-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ kernelspec:
2020

2121
## Introduction
2222

23-
Here we model a single fermion coupled to two electronic leads or reservoirs (e.g., this can describe a single quantum dot, a molecular transistor, etc). Note that in this implementation we primarily follow the definitions used by Christian Schinabeck in his dissertation https://opus4.kobv.de/opus4-fau/files/10984/DissertationChristianSchinabeck.pdf and related publications.
23+
Here we model a single fermion coupled to two electronic leads or reservoirs (e.g., this can describe a single quantum dot, a molecular transistor, etc). Note that in this implementation we primarily follow the definitions used by Christian Schinabeck in his dissertation https://open.fau.de/items/36fdd708-a467-4b59-bf4e-4a2110fbc431 and related publications.
2424

2525
Notation:
2626

tutorials-v4/heom/heom-5b-fermions-discrete-boson-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ kernelspec:
2020

2121
Here we model a single fermion coupled to two electronic leads or reservoirs (e.g., this can describe a single quantum dot, a molecular transistor, etc), also coupled to a discrete bosonic (vibronic) mode.
2222

23-
Note that in this implementation we primarily follow the definitions used by Christian Schinabeck in his Dissertation https://opus4.kobv.de/opus4-fau/files/10984/DissertationChristianSchinabeck.pdf and related publications. In particular this example reproduces some results from https://journals.aps.org/prb/abstract/10.1103/PhysRevB.94.201407
23+
Note that in this implementation we primarily follow the definitions used by Christian Schinabeck in his Dissertation https://open.fau.de/items/36fdd708-a467-4b59-bf4e-4a2110fbc431 and related publications. In particular this example reproduces some results from https://journals.aps.org/prb/abstract/10.1103/PhysRevB.94.201407
2424

2525
Notation:
2626

0 commit comments

Comments
 (0)