class_docstr: Single-qubit amplitude damping error channel.
  
  Interaction with the environment can lead to changes in the state populations of a qubit.
  This is the phenomenon behind scattering, dissipation, attenuation, and spontaneous emission.
  It can be modelled by the amplitude damping channel, with the following Kraus matrices:
  
  .. math::
      K_0 = \begin{bmatrix}
              1 & 0 \\
              0 & \sqrt{1-\gamma}
              \end{bmatrix}
  .. math::
      K_1 = \begin{bmatrix}
              0 & \sqrt{\gamma}  \\
              0 & 0
              \end{bmatrix}
  
  where :math:`\gamma \in [0, 1]` is the amplitude damping probability.
  
  **Details:**
  
  * Number of wires: 1
  * Number of parameters: 1
  
  Args:
      gamma (float): amplitude damping probability
      wires (Sequence[int] or int): the wire the channel acts on
      id (str or None): String representing the operation (optional)
class_docstr_tok: ["Single-qubit","amplitude","damping","error","channel",".","Interaction","with","the","environment","can","lead","to","changes","in","the","state","populations","of","a","qubit",".","This","is","the","phenomenon","behind","scattering",",","dissipation",",","attenuation",",","and","spontaneous","emission",".","It","can","be","modelled","by","the","amplitude","damping","channel",",","with","the","following","Kraus","matrices",":","..","math",":",":","K_0","=","\\begin","{","bmatrix","}","1","&","0","\\\\","0","&","\\sqrt","{","1-\\gamma","}","\\end","{","bmatrix","}","..","math",":",":","K_1","=","\\begin","{","bmatrix","}","0","&","\\sqrt","{","\\gamma","}","\\\\","0","&","0","\\end","{","bmatrix","}","where",":","math",":","`","\\gamma","\\in","[","0",",","1","]","`","is","the","amplitude","damping","probability",".","*","*","Details",":","*","*","*","Number","of","wires",":","1","*","Number","of","parameters",":","1","Args",":","gamma","(","float",")",":","amplitude","damping","probability","wires","(","Sequence","[","int","]","or","int",")",":","the","wire","the","channel","acts","on","id","(","str","or","None",")",":","String","representing","the","operation","(","optional",")"]
code: def __init__(self, gamma, wires, id=None):
      super().__init__(gamma, wires=wires, id=id)
  
imports: import warnings
  import pennylane.math
  from pennylane.operation import AnyWires, Channel
label_desc: Use image node_id 1 to create a new AmplitudeDamping object from inherited base classes: Channel with example: obj = AmplitudeDamping(gamma, wires, id)