Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nkanazawa1989 committed Jan 25, 2022
1 parent 38920ed commit 9d9cfed
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions qiskit_experiments/library/hamiltonian/heat_zx.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ZXHeat(BatchHeatHelper):
ZX(angle) evolution otherwise selective amplification doesn't work properly.
# section: see_also
HeatElement
qiskit_experiments.library.hamiltonian.HeatElement
# section: analysis_ref
:py:class:`HeatAnalysis`
Expand Down Expand Up @@ -165,10 +165,10 @@ class ZX90HeatXError(ZXHeat):
"""HEAT experiment for X error amplification for ZX(pi/2) Hamiltonian.
# section: see_also
ZXHeat
qiskit_experiments.library.hamiltonian.ZXHeat
"""

def __init__(self, qubits: [int, int], backend: Optional[Backend] = None):
def __init__(self, qubits: Tuple[int, int], backend: Optional[Backend] = None):
"""Create new experiment.
qubits: Index of control and target qubit, respectively.
Expand All @@ -186,10 +186,10 @@ class ZX90HeatYError(ZXHeat):
"""HEAT experiment for Y error amplification for ZX(pi/2) Hamiltonian.
# section: see_also
ZXHeat
qiskit_experiments.library.hamiltonian.ZXHeat
"""

def __init__(self, qubits: [int, int], backend: Optional[Backend] = None):
def __init__(self, qubits: Tuple[int, int], backend: Optional[Backend] = None):
"""Create new experiment.
qubits: Index of control and target qubit, respectively.
Expand All @@ -207,10 +207,10 @@ class ZX90HeatZError(ZXHeat):
"""HEAT experiment for Z error amplification for ZX(pi/2) Hamiltonian.
# section: see_also
ZXHeat
qiskit_experiments.library.hamiltonian.ZXHeat
"""

def __init__(self, qubits: [int, int], backend: Optional[Backend] = None):
def __init__(self, qubits: Tuple[int, int], backend: Optional[Backend] = None):
"""Create new experiment.
qubits: Index of control and target qubit, respectively.
Expand Down

0 comments on commit 9d9cfed

Please sign in to comment.