Packages a collection of results into ZPhaseDataType.

results List of results to pack into ZPhaseDataType. If multiple results provide a value for a given (gate, angle, qubits) tuple, only the last one will be kept.

A ZPhaseDataType-formatted result representation. This can be used with the calibration-to-noise pipeline for generating noise models.

ValueError if results for a gate other than Sycamore or ISwapPowGate are given.