in src/qbsolv_community.py [0:0]
def qpu_cost_warning(self):
def custom_formatwarning(msg, *args, **kwargs):
return str(msg) + '\n'
warnings.formatwarning = custom_formatwarning
stmt = f"\033[91mWARNING:\033[0m Additional cost for using D-Wave QPU. " \
f"Please evaluate potential cost before executing this QBSolv hybrid job"
warnings.warn(stmt)