ccc1e921ae6de4890e759f2a3a0d13b996c340a8,test/test_bernsteinvazirani.py,,,#,24
Before Change
from qiskit_aqua import get_algorithm_instance, get_oracle_instance
bv_110 = {
"000": "0",
"001": "0",
"010": "1",
"011": "1",
"100": "1",
"101": "1",
"110": "0",
"111": "0"
}
bv_101 = {
"000": "0",
"001": "1",
"010": "0",
"011": "1",
"100": "1",
"101": "0",
"110": "1",
"111": "0"
}
class TestBernsteinVazirani(QiskitAquaTestCase):
@parameterized.expand([
After Change
result = algorithm.run(backend)
self.assertTrue(result["oracle_evaluation"])
if __name__ == "__main__":
unittest.main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: Qiskit/qiskit-aqua
Commit Name: ccc1e921ae6de4890e759f2a3a0d13b996c340a8
Time: 2019-01-07
Author: annaphan@au.ibm.com
File Name: test/test_bernsteinvazirani.py
Class Name:
Method Name:
Project Name: Qiskit/qiskit-aqua
Commit Name: ccc1e921ae6de4890e759f2a3a0d13b996c340a8
Time: 2019-01-07
Author: annaphan@au.ibm.com
File Name: test/test_bernsteinvazirani.py
Class Name:
Method Name:
Project Name: dmlc/gluon-nlp
Commit Name: 02c0ef855321a2c9e681927b9cdaf0996c310893
Time: 2020-10-14
Author: xshiab@connect.ust.hk
File Name: tools/batch/submit-job.py
Class Name:
Method Name:
Project Name: Qiskit/qiskit-aqua
Commit Name: cd8839a6e9ca1a36bef12d11460f68de3c02c45b
Time: 2019-01-07
Author: annaphan@au.ibm.com
File Name: test/test_simon.py
Class Name:
Method Name: