jaxquantum icon indicating copy to clipboard operation
jaxquantum copied to clipboard

First quick pass to make refactoring QuTiP code → jaxquantum code easier

Open Phionx opened this issue 2 months ago • 2 comments

This is a first, low-effort pass at making it easier to move from qutip to jaxquantum.

Some issues already identified:

  • Add an identity operator constructor with the same name
  • make it easier to create Qarray's (or add warnings if not possible) / maybe also define Qobj as Qarray

@shoumikdc @GabrieleRolleri and Max Hays please add to this list

Phionx avatar Oct 31 '25 20:10 Phionx

Also:

  • Add expectation value calculations into sesolve and mesolve (e_ops)

And potentially:

  • Auto convert qutip objects to jqt Qarrays so that people could in principle pass in Qobjs to their functions

shoumikdc avatar Oct 31 '25 21:10 shoumikdc

Also:

  • Add expectation value calculations into sesolve and mesolve (e_ops)

Yup, tracked by #19

And potentially:

  • Auto convert qutip objects to jqt Qarrays so that people could in principle pass in Qobjs to their functions

I don't want to handle Qobjs conversions automatically within jaxquantum, but I can see jqt.Qobj being another name for jqt.Qarray to make code refactoring easier

Phionx avatar Oct 31 '25 21:10 Phionx