Skip to content

Commit

Permalink
Merge pull request #551 from SRI-International/compiler-opt-changes-TL
Browse files Browse the repository at this point in the history
Remove more unused code
  • Loading branch information
rtvuser1 authored Jul 4, 2024
2 parents 420f202 + 56e3204 commit 28e178b
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions hamlib/qiskit/hamlib_simulation_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_)


0 comments on commit 28e178b

Please sign in to comment.