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 implementation? #45

Open
dnadlinger opened this issue Oct 18, 2015 · 3 comments
Open

Partial trace implementation? #45

dnadlinger opened this issue Oct 18, 2015 · 3 comments

Comments

@dnadlinger
Copy link

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?

@amitjamadagni
Copy link
Contributor

@klickverbot I guess QuDOS.jl has ptrace implemented here, so I guess a work around should be possible to include it in QuBase.

@acroy
Copy link
Contributor

acroy commented Oct 18, 2015

Partial trace (and transpose) is certainly on our wish list (see also issue
#7). As Amit said there is an implementation in QuDOS, but I didn't want to
port it over for license reasons. PRs are most welcome ;-)
On So., 18. Okt. 2015 at 14:03, Amit [email protected] 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
#45 (comment)
.

@quantshah
Copy link

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

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

4 participants