Skip to content

Commit 9d9cfed

Browse files
committed
fix doc
1 parent 38920ed commit 9d9cfed

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

qiskit_experiments/library/hamiltonian/heat_zx.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class ZXHeat(BatchHeatHelper):
8585
ZX(angle) evolution otherwise selective amplification doesn't work properly.
8686
8787
# section: see_also
88-
HeatElement
88+
qiskit_experiments.library.hamiltonian.HeatElement
8989
9090
# section: analysis_ref
9191
:py:class:`HeatAnalysis`
@@ -165,10 +165,10 @@ class ZX90HeatXError(ZXHeat):
165165
"""HEAT experiment for X error amplification for ZX(pi/2) Hamiltonian.
166166
167167
# section: see_also
168-
ZXHeat
168+
qiskit_experiments.library.hamiltonian.ZXHeat
169169
"""
170170

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

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

213-
def __init__(self, qubits: [int, int], backend: Optional[Backend] = None):
213+
def __init__(self, qubits: Tuple[int, int], backend: Optional[Backend] = None):
214214
"""Create new experiment.
215215
216216
qubits: Index of control and target qubit, respectively.

0 commit comments

Comments
 (0)