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

[Unitary Hack]Partial Trace of the stabilizer state #24

Open
hongyehu opened this issue May 29, 2024 · 5 comments
Open

[Unitary Hack]Partial Trace of the stabilizer state #24

hongyehu opened this issue May 29, 2024 · 5 comments

Comments

@hongyehu
Copy link
Owner

hongyehu commented May 29, 2024

The task of this bounty is to implement a function p_trace(state, positions) to return a partial trace (potentially a mixed state) of the stabilizer state, and the positions are the qubits that are not being traced out. References and preliminary code can be provided upon request.
A successful solution should include testing results

@Youngcius
Copy link

I would like to try to solve this issue.
Shall I implement this functionality in both PyClifford/utils.py and torchclifford.utils.py, right?

@Youngcius
Copy link

Youngcius commented May 30, 2024

Hi @hongyehu Should the input state be in type of StabilizerState or an ndarray?

@hongyehu
Copy link
Owner Author

Hi @Youngcius, if you can implement the ptrace in pyclifford, and test it, I will consider you have the bounty :-) Also, there are already some implementations or hints in the repo. Please let me know if you need help. The input state is in type of StabilizerState

@atomgardner
Copy link

@hongyehu, is the idea here to adapt PTRACE from https://arxiv.org/pdf/quant-ph/0505036 to the stabilizer+destabilizer architecture?

@hongyehu
Copy link
Owner Author

Hi @atomgardner, yes, exactly! Btw, there is a branch called partial trace, where the canonicalization is implemented. And feel free to test and use it!

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