831be1dc40528bf85d45995a9ba0acaf25c0c1aa,test/test_initial_state_custom.py,TestInitialStateCustom,setUp,#TestInitialStateCustom#,28

Before Change


class TestInitialStateCustom(QiskitAquaTestCase):

    def setUp(self):
        self.custom = get_initial_state_instance("CUSTOM")

    def test_qubits_2_zero_vector(self):
        self.custom.init_args(2, state="zero")
        cct = self.custom.construct_circuit("vector")

After Change


class TestInitialStateCustom(QiskitAquaTestCase):

    def setUp(self):
        self.custom = get_pluggable_instance(PluggableType.INITIAL_STATE, "CUSTOM")

    def test_qubits_2_zero_vector(self):
        self.custom.init_args(2, state="zero")
        cct = self.custom.construct_circuit("vector")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: Qiskit/qiskit-aqua
Commit Name: 831be1dc40528bf85d45995a9ba0acaf25c0c1aa
Time: 2018-11-19
Author: manoel@us.ibm.com
File Name: test/test_initial_state_custom.py
Class Name: TestInitialStateCustom
Method Name: setUp


Project Name: Qiskit/qiskit-aqua
Commit Name: 831be1dc40528bf85d45995a9ba0acaf25c0c1aa
Time: 2018-11-19
Author: manoel@us.ibm.com
File Name: test/test_initial_state_zero.py
Class Name: TestInitialStateZero
Method Name: setUp


Project Name: Qiskit/qiskit-aqua
Commit Name: 831be1dc40528bf85d45995a9ba0acaf25c0c1aa
Time: 2018-11-19
Author: manoel@us.ibm.com
File Name: test/test_initial_state_hartree_fock.py
Class Name: TestInitialStateHartreeFock
Method Name: setUp