SRI-International / QC-App-Oriented-Benchmarks

QED-C: The Quantum Economic Development Consortium provides these computer programs and software for use in the fields of quantum science and engineering.
Apache License 2.0
143 stars 79 forks source link

bv_benchmark.py: make the append of mid_circuit_qubit_group out of the loop #605

Closed GIRISHBELANI closed 3 months ago

GIRISHBELANI commented 3 months ago

Earlier in bernstein-vazirani method-2, the qubits appended using mid_circuit_qubit_group.append(2) was appending 17 times due to present inside the loop. After the changes done, it will append only required number of qubits.

***Screenshots from the json file are attached for reference.

Before changes after changes done