7ed25c1db031d602e669c04c60ff431016214742,qiskit/aqua/components/eigs/eigs.py,Eigenvalues,construct_inverse,#Eigenvalues#Any#Any#Any#Any#,67

Before Change


        qc = QuantumCircuit(inreg, outreg)
        for gate in reversed(circuit.data):
            gate.reapply(qc)
            qc.data[-1].inverse()
        self._inverse = qc
        return self._inverse

After Change


        // for gate in reversed(circuit.data):
        //     gate.reapply(qc)
        //     qc.data[-1].inverse()
        self._inverse = circuit.inverse()
        return self._inverse
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 7ed25c1db031d602e669c04c60ff431016214742
Time: 2019-04-03
Author: shaohan.hu@ibm.com
File Name: qiskit/aqua/components/eigs/eigs.py
Class Name: Eigenvalues
Method Name: construct_inverse


Project Name: cornellius-gp/gpytorch
Commit Name: 91b0d220c8e816766fd4565e1d2f5115d3afbefe
Time: 2018-10-12
Author: gpleiss@gmail.com
File Name: test/functions/test_inv_quad_log_det.py
Class Name: TestInvQuadLogDetBatch
Method Name: test_inv_quad_log_det_many_vectors


Project Name: cornellius-gp/gpytorch
Commit Name: 91b0d220c8e816766fd4565e1d2f5115d3afbefe
Time: 2018-10-12
Author: gpleiss@gmail.com
File Name: test/functions/test_inv_quad_log_det.py
Class Name: TestInvQuadLogDetBatch
Method Name: test_inv_quad_only_many_vectors