Skip to content

Commit 3ea920d

Browse files
committed
Format the code.
Because of github action run out of usage, I forget to format it before merge the PR. So format it now.
1 parent 49cb1b5 commit 3ea920d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qmb/hamiltonian.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Hamiltonian:
1919
@classmethod
2020
def _load_module(cls, device_type: str = "declaration", n_qubytes: int = 0, particle_cut: int = 0) -> object:
2121
if device_type != "declaration":
22-
cls._load_module("declaration", n_qubytes, particle_cut) # Ensure the declaration module is loaded first
22+
cls._load_module("declaration", n_qubytes, particle_cut) # Ensure the declaration module is loaded first
2323
key = (device_type, n_qubytes, particle_cut)
2424
is_prepare = key == ("declaration", 0, 0)
2525
name = "qmb_hamiltonian" if is_prepare else f"qmb_hamiltonian_{n_qubytes}_{particle_cut}"

0 commit comments

Comments
 (0)