2eca6957b2ac26292f82259468fbc280133bb543,qiskit_aqua/algorithms/quantumalgorithm.py,QuantumAlgorithm,backend_name,#Any#,121

Before Change


        Returns:
            Name (str): backend name
        
        return backend.configuration().get("name", "") if backend is not None else ""

    def enable_circuit_summary(self):
        Enable showing the summary of circuits.

After Change


        Returns:
            Name (str): backend name
        
        return backend.configuration().backend_name if backend is not None else ""

    def enable_circuit_summary(self):
        Enable showing the summary of circuits.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 2eca6957b2ac26292f82259468fbc280133bb543
Time: 2018-11-26
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/quantumalgorithm.py
Class Name: QuantumAlgorithm
Method Name: backend_name


Project Name: Qiskit/qiskit-aqua
Commit Name: 2eca6957b2ac26292f82259468fbc280133bb543
Time: 2018-11-26
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/quantumalgorithm.py
Class Name: QuantumAlgorithm
Method Name: setup_quantum_backend


Project Name: Qiskit/qiskit-aqua
Commit Name: 2eca6957b2ac26292f82259468fbc280133bb543
Time: 2018-11-26
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/quantumalgorithm.py
Class Name: QuantumAlgorithm
Method Name: is_statevector_backend