qiskit-ignis icon indicating copy to clipboard operation
qiskit-ignis copied to clipboard

Specify list of circuits/schedules (or pass manually) to Fitter

Open taalexander opened this issue 6 years ago • 4 comments

What is the expected behavior?

It should be possible to specify a list of circuits/schedule results, either by name or result object and pass them to the fitter, rather than just assume the fitter was created by Ignis with a specific name.

taalexander avatar Nov 08 '19 14:11 taalexander

But this is a psuedo-validation, because the fitter knows what the data should be.

dcmckayibm avatar Nov 08 '19 18:11 dcmckayibm

Yes, but it tightly-couples the circuit generation to the fitting procedure. Consider if someone wanted to write a circuit generation method for doing Rabis serially rather than in parallel. They would have to look into the fitter code and know the exact rabi strings to name the circuits with, essentially encoding information in the strings. If they could pass results with associated metadata it would be much more reusable as a standalone entity.

taalexander avatar Nov 08 '19 19:11 taalexander

I think more metadata is good. I'd like to move to a model where the circuits/schedules returns list_of_circuits, metadata and then we can save that

dcmckayibm avatar Nov 08 '19 20:11 dcmckayibm

Yes, I think that is good. I'm not sure I like the word metadata though, it lends itself to being an anything-goes location. Perhaps CalibrationConfiguration, or something like that.

taalexander avatar Nov 11 '19 14:11 taalexander