d45f689cc7b8cc4509ceeb43fd7da78baa01a49a,qiskit/optimization/algorithms/grover_optimizer.py,GroverOptimizer,solve,#GroverOptimizer#Any#,90
Before Change
raise AttributeError("The quantum instance or backend has not been set.")
// check compatibility and raise exception if incompatible
msg = self.get_compatibility_msg(problem)
if len(msg) > 0:
raise QiskitOptimizationError("Incompatible problem: {}".format(msg))
// convert problem to QUBO
qubo_converter = QuadraticProgramToQubo()
problem_ = qubo_converter.encode(problem)
// convert to minimization problem
After Change
if self.quantum_instance is None:
raise AttributeError("The quantum instance or backend has not been set.")
self._verify_compatibility(problem)
// convert problem to QUBO
qubo_converter = QuadraticProgramToQubo()
problem_ = qubo_converter.encode(problem)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 9
Instances Project Name: Qiskit/qiskit-aqua
Commit Name: d45f689cc7b8cc4509ceeb43fd7da78baa01a49a
Time: 2020-07-07
Author: 62334182+adekusar-drl@users.noreply.github.com
File Name: qiskit/optimization/algorithms/grover_optimizer.py
Class Name: GroverOptimizer
Method Name: solve
Project Name: Qiskit/qiskit-aqua
Commit Name: d45f689cc7b8cc4509ceeb43fd7da78baa01a49a
Time: 2020-07-07
Author: 62334182+adekusar-drl@users.noreply.github.com
File Name: qiskit/optimization/algorithms/admm_optimizer.py
Class Name: ADMMOptimizer
Method Name: solve
Project Name: Qiskit/qiskit-aqua
Commit Name: d45f689cc7b8cc4509ceeb43fd7da78baa01a49a
Time: 2020-07-07
Author: 62334182+adekusar-drl@users.noreply.github.com
File Name: qiskit/optimization/algorithms/minimum_eigen_optimizer.py
Class Name: MinimumEigenOptimizer
Method Name: solve
Project Name: Qiskit/qiskit-aqua
Commit Name: d45f689cc7b8cc4509ceeb43fd7da78baa01a49a
Time: 2020-07-07
Author: 62334182+adekusar-drl@users.noreply.github.com
File Name: qiskit/optimization/algorithms/recursive_minimum_eigen_optimizer.py
Class Name: RecursiveMinimumEigenOptimizer
Method Name: solve