Skip to content

Commit 73867d5

Browse files
committed
Merge branch 'dev/conditional-compilation'
2 parents 0d6f12d + 3ea920d commit 73867d5

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
@@ -38,7 +38,7 @@ def _set_torch_cuda_arch_list(cls) -> None:
3838
def _load_module(cls, device_type: str = "declaration", n_qubytes: int = 0, particle_cut: int = 0) -> object:
3939
cls._set_torch_cuda_arch_list()
4040
if device_type != "declaration":
41-
cls._load_module("declaration", n_qubytes, particle_cut) # Ensure the declaration module is loaded first
41+
cls._load_module("declaration", n_qubytes, particle_cut) # Ensure the declaration module is loaded first
4242
key = (device_type, n_qubytes, particle_cut)
4343
is_prepare = key == ("declaration", 0, 0)
4444
name = "qmb_hamiltonian" if is_prepare else f"qmb_hamiltonian_{n_qubytes}_{particle_cut}"

0 commit comments

Comments
 (0)