Skip to content

Commit 47fbe10

Browse files
details
1 parent 8f874e9 commit 47fbe10

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

mpqp/execution/connection/qlm_connection.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
from __future__ import annotations
2-
from typing import Any
32

4-
from typeguard import typechecked
5-
from getpass import getpass
63
import os
4+
from getpass import getpass
5+
from typing import Any
76

87
from termcolor import colored
8+
from typeguard import typechecked
99

1010
from mpqp.execution.connection.env_manager import (
11-
save_env_variable,
1211
get_env_variable,
1312
load_env_variables,
13+
save_env_variable,
1414
)
1515
from mpqp.tools.errors import QLMRemoteExecutionError
1616

@@ -28,7 +28,7 @@ def config_qlm_account(username: str, password: str, global_config: bool) -> boo
2828
outside MPQP.
2929
3030
Raises:
31-
QLMRemoteExecutionError
31+
QLMRemoteExecutionError: TODO
3232
"""
3333
# store the username and password in environment variables QLM_USER and QLM_PASSWD in .mpqp
3434
prev_user = get_env_variable("QLM_USER")

mpqp/qasm/qasm_to_myqlm.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""File regrouping all features for translating QASM code to myQLM objects """
2+
23
from qat.core.wrappers.circuit import Circuit
34
from qat.interop.openqasm import OqasmParser # type: ignore
45
from typeguard import typechecked
@@ -8,8 +9,7 @@
89

910
@typechecked
1011
def qasm2_to_myqlm_Circuit(qasm_str: str) -> Circuit:
11-
"""
12-
Converting a OpenQASM 2.0 code into a QLM Circuit.
12+
"""Converting a OpenQASM 2.0 code into a QLM Circuit.
1313
1414
Args:
1515
qasm_str: A string representing the OpenQASM 2.0 code.

0 commit comments

Comments
 (0)