You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from qiskit.result import QuasiDistribution
return list(QuasiDistribution({i: p for i, p in enumerate(quasiprobability)}).nearest_probability_distribution().values())
Looks to me like this function:
cutqc2/src/cutqc2/cutqc/helper_functions/conversions.py
Line 81 in 47613b9
could be replaced by:
Docs on this class here:
https://docs.quantum.ibm.com/api/qiskit/qiskit.result.QuasiDistribution