Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

functionality for accessing subspaces of states and operators #200

Open
aarontrowbridge opened this issue Aug 12, 2024 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@aarontrowbridge
Copy link
Contributor

i don't see this in the docs for the python qutip package, but it would be very handy to have access to subspaces of quantum objects, c.f. this docs page in QuantumToolbox.jl.

in QuantumCollocation.jl we have constructed an EmbeddedOperator object for handling operators embedded in subspaces. we also frequently call a function a get_subspace_indices to index into the subspace of quantum states -- this functionality does not currently exist in QuantumOptics.jl, where also the tensor product ordering does not match what we (and you) have currently implemented.

@ytdHuang
Copy link
Member

For the subspaces stuff, we have a similar function called tensor_contract in python qutip, maybe can add it to QuantumToolbox.jl too.

As for the tensor product ordering, we had a discussion in issue #129.
So far we will follow the tensor ordering to be the same as python qutip, since this is most of the users come from python wanted.

@ytdHuang ytdHuang added the help wanted Extra attention is needed label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants