Skip to content

Commit ed50a78

Browse files
committed
fix doc
1 parent 38920ed commit ed50a78

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

qiskit_experiments/library/hamiltonian/heat_zx.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ class ZXHeat(BatchHeatHelper):
3131
ZX-type generator, a typical Hamiltonian implemented
3232
by a cross resonance drive, which is a foundation of the CNOT gate.
3333
34-
The preparation circuit locks target qubit state along X-axis,
35-
in which the state is insensitive to the controlled X rotation
36-
imposed by the drive with the ZX-type generator.
37-
3834
The echo circuit refocuses ZX rotation to identity (II) then applies
3935
a pi-pulse along the interrogated error axis. X error and Y error are
4036
amplified outward the X-Y plane to draw a ping-pong pattern with
@@ -85,7 +81,7 @@ class ZXHeat(BatchHeatHelper):
8581
ZX(angle) evolution otherwise selective amplification doesn't work properly.
8682
8783
# section: see_also
88-
HeatElement
84+
qiskit_experiments.library.hamiltonian.HeatElement
8985
9086
# section: analysis_ref
9187
:py:class:`HeatAnalysis`
@@ -165,10 +161,10 @@ class ZX90HeatXError(ZXHeat):
165161
"""HEAT experiment for X error amplification for ZX(pi/2) Hamiltonian.
166162
167163
# section: see_also
168-
ZXHeat
164+
qiskit_experiments.library.hamiltonian.ZXHeat
169165
"""
170166

171-
def __init__(self, qubits: [int, int], backend: Optional[Backend] = None):
167+
def __init__(self, qubits: Tuple[int, int], backend: Optional[Backend] = None):
172168
"""Create new experiment.
173169
174170
qubits: Index of control and target qubit, respectively.
@@ -186,10 +182,10 @@ class ZX90HeatYError(ZXHeat):
186182
"""HEAT experiment for Y error amplification for ZX(pi/2) Hamiltonian.
187183
188184
# section: see_also
189-
ZXHeat
185+
qiskit_experiments.library.hamiltonian.ZXHeat
190186
"""
191187

192-
def __init__(self, qubits: [int, int], backend: Optional[Backend] = None):
188+
def __init__(self, qubits: Tuple[int, int], backend: Optional[Backend] = None):
193189
"""Create new experiment.
194190
195191
qubits: Index of control and target qubit, respectively.
@@ -207,10 +203,10 @@ class ZX90HeatZError(ZXHeat):
207203
"""HEAT experiment for Z error amplification for ZX(pi/2) Hamiltonian.
208204
209205
# section: see_also
210-
ZXHeat
206+
qiskit_experiments.library.hamiltonian.ZXHeat
211207
"""
212208

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

0 commit comments

Comments
 (0)