From 56e3204787fa42ac460e48a79a51317872a43fa0 Mon Sep 17 00:00:00 2001 From: rtvuser1 Date: Wed, 3 Jul 2024 20:41:35 -0700 Subject: [PATCH] Remove more unused code --- hamlib/qiskit/hamlib_simulation_kernel.py | 30 +---------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/hamlib/qiskit/hamlib_simulation_kernel.py b/hamlib/qiskit/hamlib_simulation_kernel.py index 6aedc939..17706214 100644 --- a/hamlib/qiskit/hamlib_simulation_kernel.py +++ b/hamlib/qiskit/hamlib_simulation_kernel.py @@ -306,33 +306,5 @@ def kernel_draw(hamiltonian: str = "heisenberg", use_XX_YY_ZZ_gates: bool = Fals else: print(" ... circuit too large!") - if hamiltonian == "heisenberg": - if use_XX_YY_ZZ_gates: - print("\nXX, YY, ZZ = ") - print(XX_) - print(YY_) - print(ZZ_) - if method == 3: - print("\nXX, YY, ZZ mirror = ") - print(XX_mirror_) - print(YY_mirror_) - print(ZZ_mirror_) - else: - print("\nXXYYZZ_opt = ") - print(XXYYZZ_) - if method == 3: - print("\nXXYYZZ_opt_mirror = ") - print(XXYYZZ_mirror_) - - if hamiltonian == "tfim": - print("\nZZ = ") - print(ZZ_) - if method == 3: - print("\nZZ mirror = ") - print(ZZ_mirror_) - - if hamiltonian == "hamlib": - if method == 3: - print("\nZZ mirror = ") - print(ZZ_mirror_) + \ No newline at end of file