I'm trying to plot the counts for the same tensor state (00, say) over many runs, but I'm not sure how to access the data from the "counts" variable in a numerical format that is usable (with matplotlib, for example) after a given run. For context, the reason I am trying to do this is that each run corresponds to a Trotter timestep for unitary time evolution, and I'm trying to plot the evolution of the 00 state over time to compare with the numerical result.
Any help is appreciated!