Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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: 14 additions & 1 deletion .github/workflows/nightly_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
include:
- qutip-version: '4'
qutip-branch: 'qutip-4.7.X'
qip-branch: 'qutip-qip-0.4.X'
- qutip-version: '5'
qutip-branch: 'master'
qip-branch: 'master'

- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
Expand Down Expand Up @@ -54,7 +56,7 @@ jobs:
pip install -r requirements.txt
pip install .
cd ..
python -m pip install git+https://github.com/qutip/qutip-qip
python -m pip install git+https://github.com/qutip/qutip-qip@${{ matrix.qip-branch }}
python -m pip install --no-deps git+https://github.com/qutip/qutip-jax
python -m pip install --no-deps git+https://github.com/qutip/qutip-qoc

Expand All @@ -81,6 +83,11 @@ jobs:
find . -name '*.md' -exec jupytext --to notebook {} +
find . -name '*.md' -delete

- name: Remove cuQuantum notebook from tests
# Without GPU, this notebook can't be ran.
if: ${{ matrix.qutip-version == '5' }}
run: rm notebooks/miscellaneous/cuQuantum_backend.ipynb

- name: Check PEP8 formatting
run: |
pip install nbqa flake8
Expand All @@ -93,6 +100,12 @@ jobs:
find . -name '*.ipynb' -exec pytest --nbmake --overwrite --nbmake-timeout=900 {} +
rm template.ipynb

- name: Copy cuQuantum notebook
# Without GPU, this notebook can't be ran.
# Copy the already executed notebook after the tests.
if: ${{ matrix.qutip-version == '5' }}
run: cp tutorials-v5/miscellaneous/cuQuantum_backend.ipynb notebooks/miscellaneous/

- name: Create Notebook Artifact
uses: actions/upload-artifact@v4
with:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/notebook_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ jobs:
find . -name '*.md' -exec jupytext --to notebook {} +
find . -name '*.md' -delete

- name: Remove cuQuantum notebook from tests
# Without GPU, this notebook can't be ran.
if: ${{ matrix.qutip-version == '5' }}
run: rm notebooks/miscellaneous/cuQuantum_backend.ipynb

- name: Check PEP8 formatting
run: |
pip install nbqa flake8
Expand All @@ -98,6 +103,12 @@ jobs:
find . -name '*.ipynb' -exec pytest --nbmake --overwrite --nbmake-timeout=900 {} +
rm template.ipynb

- name: Copy cuQuantum notebook
# Without GPU, this notebook can't be ran.
# Copy the already executed notebook after the tests.
if: ${{ matrix.qutip-version == '5' }}
run: cp tutorials-v5/miscellaneous/cuQuantum_backend.ipynb notebooks/miscellaneous/

- name: Create Notebook Artifact
uses: actions/upload-artifact@v4
with:
Expand Down
531 changes: 531 additions & 0 deletions tutorials-v5/miscellaneous/cuQuantum_backend.ipynb

Large diffs are not rendered by default.

Loading