Commit 1b65c8a
committed
Simplify Qiskit ParallelExperiment: remove src/ dependency, fix measurement and noise bugs
- Replace custom partitioning/mapping (parallel_experiment/src/) with simple
sequential qubit allocation — reduces ibm_fez execution from 200s to 17s
- Fix measure_all() bug: preserve original circuit measurements instead of
measuring all qubits (was adding extra bits, breaking fidelity calculation)
- Fix simulator noise: wrap qasm_simulator in AerSimulator with noise model
so ParallelExperiment's internal SamplerV2 picks up QED-C noise settings
- Fix cregs[0].size → num_qubits in 4 files under parallel_experiment/src/
- Add traceback printing on parallel experiment failure
- Old custom partitioning preserved as _run_qiskit_parallel_experiment_with_custom_partitioning1 parent 0e3db60 commit 1b65c8a
7 files changed
Lines changed: 218 additions & 129 deletions
File tree
- qedclib/qiskit
- parallel_experiment/src
- mapping
- partition_process
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
1407 | 1412 | | |
1408 | 1413 | | |
1409 | 1414 | | |
| |||
0 commit comments