iqm.benchmarks.entanglement.ghz.fidelity_ghz_coherences

iqm.benchmarks.entanglement.ghz.fidelity_ghz_coherences#

iqm.benchmarks.entanglement.ghz.fidelity_ghz_coherences(dataset: Dataset, qubit_layout: list[int], num_circuits: int) list[Any]#

Estimates the GHZ state fidelity based on the multiple quantum coherences method based on [Mooney, 2021].

Parameters:
  • dataset (Dataset) – An xarray dataset containing the measurement data

  • qubit_layout (list[int]) – The subset of system-qubits used in the protocol

  • num_circuits (int) – The number of circuits executed for the given qubit layout to estimate the fidelity

Returns:

The ghz fidelity or, if rem=True, fidelity and readout error mitigated fidelity

Return type:

list[Any]