602c2de3f528a95a7c1cc785f608e3e93fd8e404,test/test_initial_state_hartree_fock.py,TestInitialStateHartreeFock,test_qubits_2_py_h2,#TestInitialStateHartreeFock#,49
Before Change
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
def test_qubits_2_py_h2(self):
self.hf.init_args(2, 4, "parity", True, 2)
cct = self.hf.construct_circuit("vector")
np.testing.assert_array_equal(cct, [0.0, 1.0, 0.0, 0.0])
def test_qubits_2_py_h2_cct(self):
After Change
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0])
def test_qubits_2_py_h2(self):
self.hf = HartreeFock(2, 4, 2, "parity", True)
cct = self.hf.construct_circuit("vector")
np.testing.assert_array_equal(cct, [0.0, 1.0, 0.0, 0.0])
def test_qubits_2_py_h2_cct(self):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 5
Instances
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_hartree_fock.py
Class Name: TestInitialStateHartreeFock
Method Name: test_qubits_2_py_h2
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_hartree_fock.py
Class Name: TestInitialStateHartreeFock
Method Name: test_qubits_2_py_h2_cct
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_hartree_fock.py
Class Name: TestInitialStateHartreeFock
Method Name: test_qubits_4_py_h2
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_hartree_fock.py
Class Name: TestInitialStateHartreeFock
Method Name: test_qubits_4_jw_h2
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_hartree_fock.py
Class Name: TestInitialStateHartreeFock
Method Name: test_qubits_4_bk_h2