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

partial trace for non-numeric matrices #93

Closed
lkapelevich opened this issue Apr 23, 2021 · 3 comments
Closed

partial trace for non-numeric matrices #93

lkapelevich opened this issue Apr 23, 2021 · 3 comments
Assignees

Comments

@lkapelevich
Copy link

Thanks for this package!
Would it be OK to remove the <:Number restriction in https://github.com/iitis/QuantumInformation.jl/blob/master/src/ptrace.jl#L11? My use case is to calculate ptrace with JuMP variables and things seem to work with just ρ::AbstractMatrix

@lpawela
Copy link
Member

lpawela commented Apr 29, 2021

@lkapelevich we will try to implement this in some reasonable timeframe.

@lpawela
Copy link
Member

lpawela commented May 4, 2021

@lkapelevich I removed the requirement, you can see it here a213dd3. Is this sufficient for your use case?

@lkapelevich
Copy link
Author

Yep that's what I had in mind!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants