Open dnadlinger opened 8 years ago
@klickverbot I guess QuDOS.jl has ptrace implemented here, so I guess a work around should be possible to include it in QuBase.
Partial trace (and transpose) is certainly on our wish list (see also issue
port it over for license reasons. PRs are most welcome ;-) On So., 18. Okt. 2015 at 14:03, Amit notifications@github.com wrote:
@klickverbot https://github.com/klickverbot I guess QuDOS.jl has ptrace implemented here https://github.com/acroy/QuDOS.jl/blob/master/src/Qudos.jl, so I guess a work around should be possible to include it in QuBase.
— Reply to this email directly or view it on GitHub https://github.com/JuliaQuantum/QuBase.jl/issues/45#issuecomment-149005996 .
In QuDirac, isn't partial trace implemented as ptrace ?
Its there in the examples too ptrace(bell * bell', 1)
https://github.com/JuliaQuantum/QuDirac.jl/blob/master/src/opsum.jl#L342
It seems to me like partial traces would be something required for many uses of JuliaQuantum, yet I couldn't find an implementation in QuBase.
Hacking something together really quick is not hard, but does anybody have a piece of code lying around that computes it the JuliaQuantum way?