Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

qv_fitter start with offset circuits #522

Open
PetarJurcevic opened this issue Oct 20, 2020 · 0 comments
Open

qv_fitter start with offset circuits #522

PetarJurcevic opened this issue Oct 20, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@PetarJurcevic
Copy link

Currently, in order to add data and statevectors to the qv_fitter, the names need to start from 0: for example qv_depth_7_trial_0

However, for analysis and running a lot of circuits in batches, it would be nice to be able to the following:

job = backend.run(qobj)

qv_fitter=[]
qv_fitter = qv.QVFitter(qubit_lists=qubit_lists)
qv_fitter.add_statevectors(ideal_results[100:200])

qv_fitter.add_data(job.result())```


If I want to do this right now, I have to rename the circs, set the naming of circ[100].name = qv_depth_7_trial_0 and the same for ideal_result[100] in order to get the fitter to work.
@PetarJurcevic PetarJurcevic added the enhancement New feature or request label Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant