pasqal-io / Pulser

Library for pulse-level/analog control of neutral atom devices. Emulator with QuTiP.
Apache License 2.0
171 stars 60 forks source link

Add DMM, methods of RegisterLayout inherited from Traps, Result #587

Closed a-corni closed 1 year ago

a-corni commented 1 year ago
HGSilveri commented 1 year ago

Do you need help figuring out what's up with the RTD build?

a-corni commented 1 year ago

Do you need help figuring out what's up with the RTD build?

Well I have a Warning raised when asking to display QutipResult. At the moment I don't find a way to circumvent it. image

a-corni commented 1 year ago

I think it's coming from this attribute: image

HGSilveri commented 1 year ago

Do you need help figuring out what's up with the RTD build?

Well I have a Warning raised when asking to display QutipResult. At the moment I don't find a way to circumvent it. image

QubitId is just a type alias, try to import it in qutip_result.py (and add an ignore to the flake8 error):

from pulser.register import QubitId   # noqa: F401
a-corni commented 1 year ago

Do you need help figuring out what's up with the RTD build?

Well I have a Warning raised when asking to display QutipResult. At the moment I don't find a way to circumvent it. image

QubitId is just a type alias, try to import it in qutip_result.py (and add an ignore to the flake8 error):

from pulser.register import QubitId   # noqa: F401

Ah okay I did it differently by making explicit the first two attributes... Is this fine by you or do you prefer your method ?

HGSilveri commented 1 year ago

Do you need help figuring out what's up with the RTD build?

Well I have a Warning raised when asking to display QutipResult. At the moment I don't find a way to circumvent it. image

QubitId is just a type alias, try to import it in qutip_result.py (and add an ignore to the flake8 error):

from pulser.register import QubitId   # noqa: F401

Ah okay I did it differently by making explicit the first two attributes... Is this fine by you or do you prefer your method ?

What you did is fine, let's see if it works