pygsti.tools.optools.povm_diamonddist#
- povm_diamonddist(model, target_model, povmlbl, _premultiplier=None)#
Computes the diamond distance between POVM maps using
diamonddist().- Parameters:
- Return type:
float
Notes
_premultiplier is not in the public API. It’s here for the time being to facilitate leakage modeling. When present, it’s a value returned from pygsti.leakage.computational_projector.