@@ -87,7 +87,7 @@ def _qiskit_parameter_adder(
87
87
class NativeGate (Gate , SimpleClassReprABC ):
88
88
"""The standard on which we rely, OpenQASM, comes with a set of gates
89
89
supported by default. More complicated gates can be defined by the user.
90
- This class represent all those gates supported by default.
90
+ This abstract class represent all those gates supported by default.
91
91
92
92
Args:
93
93
targets: List of indices referring to the qubits on which the gate will
@@ -102,9 +102,9 @@ class NativeGate(Gate, SimpleClassReprABC):
102
102
class RotationGate (NativeGate , ParametrizedGate , SimpleClassReprABC ):
103
103
"""Many gates can be classified as a simple rotation gate, around a specific
104
104
axis (and potentially with a control qubit). All those gates have in common
105
- a single parameter: ``theta``. This class help up factorize this behavior,
106
- and simply having to tweak the matrix semantics and qasm translation of
107
- the specific gate.
105
+ a single parameter: ``theta``. This abstract class helps up factorize this
106
+ behavior, and simply having to tweak the matrix semantics and qasm
107
+ translation of the specific gate.
108
108
109
109
Args:
110
110
theta: Angle of the rotation.
@@ -169,7 +169,7 @@ def to_other_language(
169
169
170
170
@typechecked
171
171
class NoParameterGate (NativeGate , SimpleClassReprABC ):
172
- """Class describing native gates that do not depend on parameters.
172
+ """Abstract class describing native gates that do not depend on parameters.
173
173
174
174
Args:
175
175
targets: List of indices referring to the qubits on which the gate will
@@ -255,7 +255,8 @@ def to_matrix(self) -> Matrix:
255
255
256
256
@typechecked
257
257
class OneQubitNoParamGate (SingleQubitGate , NoParameterGate , SimpleClassReprABC ):
258
- """Class describing one-qubit native gates that do not depend on parameters.
258
+ """Abstract Class describing one-qubit native gates that do not depend on
259
+ parameters.
259
260
260
261
Args:
261
262
target: Index referring to the qubits on which the gate will be applied.
0 commit comments