Skip to content

Commit

Permalink
updating name #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Itaborala committed Jun 22, 2024
1 parent 45b9957 commit cf5b14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/vqh_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

PROCESS_LIBRARY = {
"test": (ProcessTest, ProblemTest, ProtocolTest), #Deprecated
"qubo_algo": (VQHProcess, VQEAlgorithm, QUBOProblem, BasisProtocol)
"qubo": (VQHProcess, VQEAlgorithm, QUBOProblem, BasisProtocol)
}


Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit cf5b14c

Please sign in to comment.