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
105 stars 61 forks source link

Changing import path for diffrax AbstractSolver #301

Closed DanPuzzuoli closed 10 months ago

DanPuzzuoli commented 10 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.