iqm.benchmarks.compressive_gst.mgst.reporting.reporting.compute_matched_ideal_hamiltonian_params

iqm.benchmarks.compressive_gst.mgst.reporting.reporting.compute_matched_ideal_hamiltonian_params#

iqm.benchmarks.compressive_gst.mgst.reporting.reporting.compute_matched_ideal_hamiltonian_params(dataset: Dataset) tuple[ndarray, ndarray]#

Computes the Hamiltonian parameters and matches the ideal Hamiltonian parameters to the measured ones.

This does not change the unitary generated by the Hamiltonian

Parameters:

dataset (xarray.Dataset) – A dataset containing counts from the experiment and configurations.

Returns:

  • Hamiltonian parameters of the measured gates.

  • Ideal Hamiltonian parameters matched to the measured ones.

Return type:

tuple[ndarray, ndarray]