Could someone guide me on how to create my own qiskit.result.models.ExperimentResultData
object? I would simply like to create an object with some self-created dict of counts.
Creating qiskit.result.models.ExperimentalResults
object is somehow easy, since by calling it from qiskit.result.models.ExperimentResults
, I simply pass the required attributes. But somehow I was not able to figure out how to do the same with qiskit.result.models.ExperimentResultData
, which should be passed as "data" attribute to qiskit.result.models.ExperimentalResults
object.