Skip to content

Commit

Permalink
Merge branch 'main' into pypi_package
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathfulSpatula committed Feb 20, 2024
2 parents 701b99c + 0503b70 commit 3de3c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyqrack/qrack_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -2759,7 +2759,7 @@ def file_to_qiskit_circuit(filename, is_hardware_encoded=False):
non_clifford_gates.append(op)
g = g + 1

basis_gates = ["rz", "h", "x", "y", "z", "sx", "sxdg", "sy", "sydg", "s", "sdg", "t", "tdg", "cx", "cy", "cz", "swap", "iswap", "iswap_dg"]
basis_gates = ["rz", "h", "x", "y", "z", "sx", "sxdg", "sy", "sydg", "s", "sdg", "t", "tdg", "cx", "cy", "cz", "swap"]
try:
circ = transpile(clifford_circ, basis_gates=basis_gates, optimization_level=3)
except:
Expand Down Expand Up @@ -3051,7 +3051,7 @@ def file_to_optimized_qiskit_circuit(filename):

j -= 1

basis_gates=["u", "rz", "h", "x", "y", "z", "sx", "sxdg", "sy", "sydg", "s", "sdg", "t", "tdg", "cx", "cy", "cz", "swap", "iswap", "iswap_dg"]
basis_gates=["u", "rz", "h", "x", "y", "z", "sx", "sxdg", "sy", "sydg", "s", "sdg", "t", "tdg", "cx", "cy", "cz", "swap"]
circ = transpile(circ, basis_gates=basis_gates, optimization_level=3)

#Eliminate unused ancillae
Expand Down

0 comments on commit 3de3c95

Please sign in to comment.