From cf5b14c37b263c1ea402812adfd84d21c07f59ce Mon Sep 17 00:00:00 2001 From: itaborala <28213905+Itaborala@users.noreply.github.com> Date: Sat, 22 Jun 2024 11:39:13 +0300 Subject: [PATCH] updating name #8 --- core/vqh_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/vqh_core.py b/core/vqh_core.py index d0d4f9c..11d1cb1 100644 --- a/core/vqh_core.py +++ b/core/vqh_core.py @@ -30,7 +30,7 @@ PROCESS_LIBRARY = { "test": (ProcessTest, ProblemTest, ProtocolTest), #Deprecated - "qubo_algo": (VQHProcess, VQEAlgorithm, QUBOProblem, BasisProtocol) + "qubo": (VQHProcess, VQEAlgorithm, QUBOProblem, BasisProtocol) } @@ -128,7 +128,7 @@ def init_strategy(self, strategy_name=None): elif self.strategy_type == "process": if self.strategy_name not in PROCESS_LIBRARY.keys() or self.strategy_name in ['test', None]: - print(f"This strategy '{self.strategy_name}' does not exist (or is deprecated). Use qubo_algo instead") + print(f"This strategy '{self.strategy_name}' does not exist (or is deprecated). Use qubo instead") raise ValueError return init_vqh_process(self.strategy_name, 'h_setup_rt.csv', self.rt_mode, self.problem_event, self.session_name)