Skip to content

Commit

Permalink
pin symengine 0.11 (#874)
Browse files Browse the repository at this point in the history
symengine is required to deserialize pulse gate circuits from superstaq.
qiskit only requires `>=0.9.0`, but deserialization [will
fail](https://github.com/symengine/symengine/blob/bbaed4724003b882c26ef09395d87f94c1d5a451/symengine/basic.cpp#L68)
if server and client aren't using the same version (up to patch)
  • Loading branch information
richrines1 authored Jan 9, 2024
1 parent 768943b commit a24e9e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ jobs:
python-version: 3.8
- name: Install dependencies, using minimum supported qiskit version
run: |
qiskit_version=$(sed qiskit-superstaq/requirements.txt -ne 's/^qiskit.=/qiskit==/p')
echo "Using minimum qiskit version: $qiskit_version"
qiskit_version=$(sed qiskit-superstaq/requirements.txt -ne 's/^qiskit-ibm-provider.=/qiskit-ibm-provider==/p')
echo "Using minimum qiskit-ibm-provider version: $qiskit_version"
python -m pip install --upgrade pip
pip install "$qiskit_version" -e ./checks-superstaq -e ./general-superstaq -e ./qiskit-superstaq[dev]
- name: Coverage check
Expand Down
1 change: 1 addition & 0 deletions qiskit-superstaq/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ general-superstaq~=0.5.5
matplotlib~=3.0
qiskit>=0.44.1
qiskit-ibm-provider>=0.7.2
symengine~=0.11.0

0 comments on commit a24e9e8

Please sign in to comment.