Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions mqss/qiskit_adapter/mqss_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@
CZGate,
HGate,
IGate,
Reset,
RGate,
RXXGate,
RYGate,
RZGate,
SwapGate,
XGate,
YGate,
ZGate,
Expand Down Expand Up @@ -136,6 +138,16 @@ def handle_measure():
return Measure()


def handle_reset():
"""Handle Reset gate"""
return Reset()


def handle_swap():
"""Handle Swap gate"""
return SwapGate()


instruction_map = {
"r": handle_r,
"id": handle_id,
Expand All @@ -150,4 +162,6 @@ def handle_measure():
"x": handle_x,
"y": handle_y,
"z": handle_z,
"reset": handle_reset,
"swap": handle_swap,
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[project]
name = "mqss-qiskit"
version = "0.2.0"
version = "0.2.1"
description = "MQSS adapter for Qiskit as an interface to MQP and HPCQC."
authors = [
{name = "mqss", email = "[email protected]"},
Expand Down
Loading
Loading