34eaefdb9ad69be361fce436194a45152a003644,qiskit_acqua/quantumalgorithm.py,QuantumAlgorithm,execute,#QuantumAlgorithm#Any#,173

Before Change


        for job in jobs:
            results.append(job.result(**self._qjob_config))

        if len(jobs) == 1:
            results = results[0]
        return results

    @staticmethod
    def register_and_get_operational_backends(qconfig):

After Change


        for job in jobs:
            results.append(job.result(**self._qjob_config))

        result = functools.reduce(lambda x, y: x + y, results)
        return result

    @staticmethod
    def register_and_get_operational_backends(qconfig):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 34eaefdb9ad69be361fce436194a45152a003644
Time: 2018-07-25
Author: chenrich@us.ibm.com
File Name: qiskit_acqua/quantumalgorithm.py
Class Name: QuantumAlgorithm
Method Name: execute


Project Name: MycroftAI/padatious
Commit Name: a1383be585a1798a3333139c4c1be149d3c5a454
Time: 2017-09-15
Author: matthew3311999@gmail.com
File Name: padatious/util.py
Class Name:
Method Name: resolve_conflicts


Project Name: pgmpy/pgmpy
Commit Name: bf04af44063f12cdc98db9d5cab71edb210e76b1
Time: 2014-02-25
Author: ankurankan@gmail.com
File Name: pgmpy/BayesianModel/BayesianModel.py
Class Name: BayesianModel
Method Name: get_independencies