702f8e1c68297c9ce2e8ea497cf098df67e01a49,qiskit/aqua/utils/measurement_error_mitigation.py,,get_measured_qubits_from_qobj,#Any#,58
Before Change
if qubit_mapping is None:
qubit_mapping = measured_qubits
else:
if qubit_mapping != measured_qubits:
raise AquaError("The qubit mapping of circuits are different."
"Currently, we only support single mapping.")
return qubit_mapping
// pylint: disable=invalid-name
After Change
if qubit_index is None:
qubit_index = measured_qubits
else:
if set(qubit_index) != set(measured_qubits) :
raise AquaError("The used qubit index are different. ({}) vs ({}).\nCurrently, "
"we only support all circuits using the same set of qubits "
"regardless qubit order.".format(qubit_index, measured_qubits))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: Qiskit/qiskit-aqua
Commit Name: 702f8e1c68297c9ce2e8ea497cf098df67e01a49
Time: 2020-03-20
Author: chunfuchen@users.noreply.github.com
File Name: qiskit/aqua/utils/measurement_error_mitigation.py
Class Name:
Method Name: get_measured_qubits_from_qobj
Project Name: Qiskit/qiskit-aqua
Commit Name: 6f5c36ba99e6e32bdcd4d7f2882f3d9f58fdbb83
Time: 2020-01-03
Author: manoel@us.ibm.com
File Name: qiskit/aqua/algorithms/single_sample/amplitude_estimation/iqae.py
Class Name: IterativeAmplitudeEstimation
Method Name: __init__
Project Name: Qiskit/qiskit-aqua
Commit Name: 702f8e1c68297c9ce2e8ea497cf098df67e01a49
Time: 2020-03-20
Author: chunfuchen@users.noreply.github.com
File Name: qiskit/aqua/utils/measurement_error_mitigation.py
Class Name:
Method Name: get_measured_qubits