pygsti.tools.errgenproptools.tableau_fidelity#
- tableau_fidelity(tableau1, tableau2)#
Calculate the fidelity between the stabilizer states corresponding to the given stim tableaus. This returns a result in units of probability (so this may be squared fidelity depending on your convention).
- Parameters:
tableau1 (stim.Tableau) – Stim tableau for first stabilizer state.
tableau2 (stim.Tableau) – Stim tableau for second stabilizer state.