602c2de3f528a95a7c1cc785f608e3e93fd8e404,test/test_initial_state_zero.py,TestInitialStateZero,test_qubits_5_circuit,#TestInitialStateZero#,49
Before Change
self.assertEqual(cct.qasm(), "OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[2];\n")
def test_qubits_5_circuit(self):
self.zero.init_args(5)
cct = self.zero.construct_circuit("circuit")
self.assertEqual(cct.qasm(), "OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[5];\n")
After Change
self.assertEqual(cct.qasm(), "OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[2];\n")
def test_qubits_5_circuit(self):
self.zero = Zero(5)
cct = self.zero.construct_circuit("circuit")
self.assertEqual(cct.qasm(), "OPENQASM 2.0;\ninclude "qelib1.inc";\nqreg q[5];\n")
In pattern: SUPERPATTERN
Frequency: 4
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_zero.py
Class Name: TestInitialStateZero
Method Name: test_qubits_5_circuit
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_zero.py
Class Name: TestInitialStateZero
Method Name: test_qubits_2_circuit
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_zero.py
Class Name: TestInitialStateZero
Method Name: test_qubits_2_vector
Project Name: Qiskit/qiskit-aqua
Commit Name: 602c2de3f528a95a7c1cc785f608e3e93fd8e404
Time: 2018-11-20
Author: chenrich@us.ibm.com
File Name: test/test_initial_state_zero.py
Class Name: TestInitialStateZero
Method Name: test_qubits_5_vector