Beispiel #1
0
 def setUp(self):
     super().setUp()
     warnings.filterwarnings("ignore",
                             message=aqua_globals.CONFIG_DEPRECATION_MSG,
                             category=DeprecationWarning)
     input_file = self._get_resource_path('sample.partition')
     number_list = read_numbers_from_file(input_file)
     self.qubit_op, _ = partition.get_operator(number_list)
 def setUp(self):
     super().setUp()
     input_file = self.get_resource_path('sample.partition')
     number_list = read_numbers_from_file(input_file)
     self.qubit_op, _ = partition.get_operator(number_list)