update lookup unittest
@@ -20,7 +20,7 @@ import unittest
from parameterized import parameterized
from qiskit import QuantumRegister
from test.common import QiskitAquaTestCase
-from qiskit_aqua.components.reciprocals.lookup_rotation import LookupRotation
+from qiskit.aqua.components.reciprocals.lookup_rotation import LookupRotation
class TestLookupRotation(QiskitAquaTestCase):
@@ -28,8 +28,8 @@ class TestLookupRotation(QiskitAquaTestCase):
#def setUp(self):
- @parameterized.expand([[3, 344], [5, 1540], [7, 5678],
- [9, 9728], [11, 14428]])
+ @parameterized.expand([[3, 330], [5, 1478], [7, 6592],
+ [9, 11484], [11, 17652]])
def test_lookup_rotation(self, reg_size, gate_cnt):
self.log.debug('Testing Lookup Rotation with positive eigenvalues')
@@ -42,8 +42,8 @@ class TestLookupRotation(QiskitAquaTestCase):
self.log.debug('Lookup rotation register size: {}'.format(reg_size))
self.log.debug('Lookup rotation gate count: {}'.format(circuit_cnt))
- @parameterized.expand([[3, 193], [5, 793], [7, 3817],
- [9, 7725], [11, 11985]])
+ @parameterized.expand([[3, 185], [5, 761], [7, 4425],
+ [9, 9033], [11, 14329]])
def test_lookup_rotation_neg(self, reg_size, gate_cnt):
self.log.debug('Testing Lookup Rotation with support for negative '
'eigenvalues')
