Skip to content

Commit

Permalink
pin symengine<0.10.0 (#418)
Browse files Browse the repository at this point in the history
the new version was released today and has been causing our notebook
tests to fail (see also
Qiskit/qiskit#9857)
  • Loading branch information
richrines1 authored Mar 28, 2023
1 parent 70b7cbc commit ad2325d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cirq-superstaq/cirq_superstaq/compiler_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ def read_json_ibmq(json_dict: Dict[str, Any], circuits_is_list: bool) -> Compile
pulses = gss.serialization.deserialize(json_dict["pulses"])
else:
warnings.warn(
"ibmq_compile requires Qiskit Terra version 0.20.* to deserialize compiled pulse "
"ibmq_compile requires Qiskit Terra version 0.22.* to deserialize compiled pulse "
f"sequences (you have {qiskit.__version__})."
)
else:
warnings.warn(
"ibmq_compile requires Qiskit Terra version 0.20.* to deserialize compiled pulse "
"ibmq_compile requires Qiskit Terra version 0.22.* to deserialize compiled pulse "
"sequences."
)

Expand Down
1 change: 1 addition & 0 deletions cirq-superstaq/dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
general-superstaq[dev]~=0.3.22
qiskit-terra~=0.22.0
symengine<0.10.0 # see https://github.com/Qiskit/qiskit-terra/pull/9857
1 change: 1 addition & 0 deletions cirq-superstaq/example-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
notebook~=6.4.12
qiskit-terra~=0.22.0
symengine<0.10.0 # see https://github.com/Qiskit/qiskit-terra/pull/9857
2 changes: 1 addition & 1 deletion cirq-superstaq/examples/ibmq_compile.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"\n",
"if install_qiskit:\n",
" print(\"installing qiskit...\")\n",
" !pip install -q qiskit-terra==0.22.*\n",
" !pip install -q cirq-superstaq[examples]\n",
" print(\"installed qiskit.\")"
]
},
Expand Down
2 changes: 1 addition & 1 deletion cirq-superstaq/examples/resource_estimate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"\n",
"if install_qiskit:\n",
" print(\"installing qiskit...\")\n",
" !pip install -q qiskit-terra==0.22.*\n",
" !pip install -q cirq-superstaq[examples]\n",
" print(\"installed qiskit.\")"
]
},
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.3.22
matplotlib~=3.0
qiskit>=0.37.0
qiskit-terra==0.22.*
symengine<0.10.0 # see https://github.com/Qiskit/qiskit-terra/pull/9857

0 comments on commit ad2325d

Please sign in to comment.