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

Enable access to reduced density matrices in XACC #83

Open
DmitryLyakh opened this issue Dec 4, 2020 · 0 comments
Open

Enable access to reduced density matrices in XACC #83

DmitryLyakh opened this issue Dec 4, 2020 · 0 comments
Assignees

Comments

@DmitryLyakh
Copy link
Member

TN-QVM can compute reduced density matrices (RDM) for any number of qubits. We need to enable access to these quantities from XACC, something like Accelerator.getRDM(Qubits) --> const RDM &, where Qubits specifies a list of qubits for which the RDM is computed. RDMs are very useful, in particular they will allow plotting the entanglement entropy between any subset of qubits (1-body, 2-body, 3-body, etc.), so one will be able to dynamically observe the entanglement dynamics during gate application and plot a dynamic heat map how entanglement is evolving in the circuit during gate application. Would be a really cool feature for AIDE-QC.

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

No branches or pull requests

3 participants