Skip to content

Commit

Permalink
Add autograd as a suggested quimb backend (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison authored Nov 8, 2024
1 parent df78350 commit 51f1bfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,16 @@ quimb = [
"qiskit-quimb>=0.0.4, <0.1; python_version < '3.13'",
"networkx>=2.3; python_version < '3.13'",
]
quimb-autograd = [
"qiskit-addon-aqc-tensor[quimb]",
"autograd>=1.7.0",
]
quimb-jax = [
"qiskit-addon-aqc-tensor[quimb]",
"jax>=0.4.30",
]
quimb-all = [
"qiskit-addon-aqc-tensor[quimb-jax]",
"qiskit-addon-aqc-tensor[quimb-autograd,quimb-jax]",
]
aer = [
"qiskit-aer>=0.14.2",
Expand Down
1 change: 1 addition & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def _quimb_factory():
if is_quimb_available():
_simulator_factories.append(_quimb_factory_factory("CircuitMPS", "explicit"))
_simulator_factories.append(_quimb_factory_factory("Circuit", "jax"))
_simulator_factories.append(_quimb_factory_factory("Circuit", "autograd"))
if is_aer_available():
_simulator_factories.append(_aersimulator_factory)
_simulator_factories.append(lambda: QiskitAerSimulationSettings(_aersimulator_factory()))
Expand Down

0 comments on commit 51f1bfc

Please sign in to comment.