Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhito committed Dec 24, 2024
1 parent 3d774e3 commit eb60d2c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/tranqu/transpiler/test_ouqu_tp_transpiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def simple_device(self) -> dict[str, Any]:
def qiskit_device(self) -> BackendV2:
target = Target()

# 単一量子ビットゲートのプロパティ設定
x_props = {
(0,): InstructionProperties(duration=60e-9, error=0.01),
(1,): InstructionProperties(duration=60e-9, error=0.02),
Expand All @@ -69,12 +68,10 @@ def qiskit_device(self) -> BackendV2:
(1,): InstructionProperties(duration=0, error=0.02),
}

# 2量子ビットゲートのプロパティ設定
cx_props = {
(0, 1): InstructionProperties(duration=100e-9, error=0.05),
}

# ゲートの追加
target.add_instruction(XGate(), x_props)
target.add_instruction(SXGate(), sx_props)
theta = Parameter("theta")
Expand Down

0 comments on commit eb60d2c

Please sign in to comment.