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

Update perturbation module to use arraylias #299

Closed DanPuzzuoli closed 10 months ago

DanPuzzuoli commented 11 months ago

Summary

Integrating perturbation module with arraylias. Depends on #281.

Note that this PR also updates the perturbative solvers in the solvers folder.

Details and comments

Interface changes:

Test command:

python -m unittest discover test.dynamics.perturbation; python -m unittest discover test.dynamics.models; python -m unittest discover test.dynamics.arraylias; python -m unittest discover test.dynamics.signals; python -m unittest discover test.dynamics.pulse; python -m unittest discover test.dynamics.solvers;
DanPuzzuoli commented 10 months ago

https://github.com/Qiskit-Extensions/qiskit-dynamics/blob/88b2dfd357005f5241d0c059a814360059a91fae/qiskit_dynamics/models/__init__.py#L107

Also, need to fix it?

As per the solvers PR - this documentation will be fixed in subsequent rounds of arraylias integration steps.

DanPuzzuoli commented 10 months ago

https://github.com/Qiskit-Extensions/qiskit-dynamics/blob/88b2dfd357005f5241d0c059a814360059a91fae/qiskit_dynamics/solvers/fixed_step_solvers.py#L305

Maybe tab intend is not accurate.

Fixed this, nice catch.