Skip to content

How can I extract information on the reconstructed density matrix? #144

@silvio-sjsj

Description

@silvio-sjsj

Following this tutorial: Density matrix reconstruction. After the fit method and the plots with the metrics (KL-divergence and Fidelity) how can I extract the reconstructed density matrix so I can compare with the real density matrix?

I like to achieve something like this:

image

where the image on the left is the true density matrix, under true_matrix variable (matrix_path_real = "N2_W_state_target_real.txt" and matrix_path_imag = "N2_W_state_target_imag.txt") and the image to the right is the reconstructed matrix. How can I extract the information on the reconstructed matrix? Where is it stored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions