4f804b0e60cefa3048e0a485510a682f7bbaf604,qiskit_aqua/algorithms/single_sample/iqpe/iqpe.py,IQPE,init_args,#IQPE#Any#Any#Any#Any#Any#Any#Any#Any#,142

Before Change


    def init_args(self, operator, state_in, num_time_slices, num_iterations,
                  paulis_grouping="default", expansion_mode="trotter", expansion_order=1,
                  shallow_circuit_concat=False):
        if self._backend.find("statevector") >= 0:
            raise ValueError("Selected backend does not support measurements.")
        self._operator = operator
        self._state_in = state_in
        self._num_time_slices = num_time_slices

After Change


    def init_args(self, operator, state_in, num_time_slices, num_iterations,
                  paulis_grouping="default", expansion_mode="trotter", expansion_order=1,
                  shallow_circuit_concat=False):
        if self.backend.configuration().get("name", "").startswith("statevector"):
            raise ValueError("Selected backend does not support measurements.")
        self._operator = operator
        self._state_in = state_in
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 4f804b0e60cefa3048e0a485510a682f7bbaf604
Time: 2018-10-18
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/single_sample/iqpe/iqpe.py
Class Name: IQPE
Method Name: init_args


Project Name: cve-search/cve-search
Commit Name: 658c246a405a89456d56ca212d1774d83adb4547
Time: 2015-01-07
Author: pieterjan.moreels@gmail.com
File Name: db_mgmt.py
Class Name:
Method Name:


Project Name: Qiskit/qiskit-aqua
Commit Name: 4f804b0e60cefa3048e0a485510a682f7bbaf604
Time: 2018-10-18
Author: manoel@us.ibm.com
File Name: qiskit_aqua/algorithms/single_sample/qpe/qpe.py
Class Name: QPE
Method Name: init_args