Skip to content
Closed
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
16 changes: 7 additions & 9 deletions .github/workflows/nightly_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
include:
- qutip-version: '4'
qutip-branch: 'qutip-4.7.X'
qip-branch: 'qutip-qip-0.4.X'
qutip-install-spec: 'qutip==4.7.*'
qip-install-spec: 'qutip-qip==0.4.*'
- qutip-version: '5'
qutip-branch: 'master'
qip-branch: 'master'
qutip-install-spec: 'qutip'
qip-install-spec: 'qutip-qip'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -57,17 +59,13 @@ jobs:
git clone -b ${{ matrix.qutip-branch }} https://github.com/qutip/qutip.git
cd qutip
pip install -r requirements.txt
pip install .
cd ..
python -m pip install git+https://github.com/qutip/qutip-qip@${{ matrix.qip-branch }}
python -m pip install "${{ matrix.qutip-install-spec }}"
python -m pip install "${{ matrix.qip-install-spec }}"
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-qtrl
python -m pip install --no-deps git+https://github.com/qutip/qutip-qoc

git clone -b master https://github.com/qutip/qutip-qtrl.git
cd qutip-qtrl
# install qutip-qtrl without deps because it requires qutip 5.0.0a1
pip install --no-deps -e .

- name: Install ffmpeg & LaTeX
run: |
sudo apt update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notebook_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
qip-branch: 'qutip-qip-0.4.X'
- qutip-version: '5'
qutip-branch: 'master'
qip-branch: 'master'
qip-branch: 'qutip-qip-0.4.X'
steps:
- uses: actions/checkout@v4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ from qutip_qip.device import (LinearSpinChain, OptPulseProcessor, SCQubits,
```

```python
qc = QubitCircuit(num_qubits=3)
qc = QubitCircuit(3)
qc.add_gate("X", targets=2)
qc.add_gate("SNOT", targets=0)
qc.add_gate("SNOT", targets=1)
Expand Down
Loading