Skip to content

Can I (and does it make sense to) execute electrons in arbitrary python environments? #1417

Discussion options

You must be logged in to vote

Hi @svandenhaute , in theory, you can. But note that all electrons must be constructed in the same environment. If you there are conflicting packages, the ideal way would be to use @ct.leptons.bash (Or DepsBash as you mentioned) to evoke the python shell and a script to run it on a remote backend, whereby we bypass the need to pickle the function/code while building the lattice.

I would personally try directly, even with version conflict, just using the normally pickled electrons and making sure it does not work first as most of the versions (except for edge cases) as long as the python version/package versions ~ match each other, things would go well.

Do let us know if you are unable to …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by svandenhaute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants