qiskit-community / qiskit-dynamics

Tools for building and solving models of quantum systems in Qiskit
https://qiskit-community.github.io/qiskit-dynamics/
Apache License 2.0
103 stars 61 forks source link

Changing import path for diffrax AbstractSolver #301

Closed DanPuzzuoli closed 8 months ago

DanPuzzuoli commented 8 months ago

Summary

The latest version of diffrax changes the import path of AbstractSolver, causing an error to be raised.

Details and comments

This PR fixes the issue, instead of from diffrax.solver import AbstractSolver, we now import as from diffrax import AbstractSolver.