Open dexter2206 opened 2 years ago
We need to refactor the following functions:
qbench.direct.benchmark_using_controlled_unitary
qbench.postselection_all_cases.benchmark_using_postselection_all_cases
qbench.postselection.benchmark_using_postselection
so they return measurement counts and measured qubits instead of probabilities. This is needed so that we can create the output files conforming to our pydantic models.
We need to refactor the following functions:
qbench.direct.benchmark_using_controlled_unitary
qbench.postselection_all_cases.benchmark_using_postselection_all_cases
qbench.postselection.benchmark_using_postselection
so they return measurement counts and measured qubits instead of probabilities. This is needed so that we can create the output files conforming to our pydantic models.