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",")"]
docstr: Kraus matrices representing the AmplitudeDamping channel.
  
  Args:
      gamma (float): amplitude damping probability
  
  Returns:
      list(array): list of Kraus matrices
  
  **Example**
  
  >>> qml.AmplitudeDamping.compute_kraus_matrices(0.5)
  [array([[1., 0.], [0., 0.70710678]]),
   array([[0., 0.70710678], [0., 0.]])]
code: def compute_kraus_matrices(gamma):  # pylint:disable=arguments-differ
      """Kraus matrices representing the AmplitudeDamping channel.
  
      Args:
          gamma (float): amplitude damping probability
  
      Returns:
          list(array): list of Kraus matrices
  
      **Example**
  
      >>> qml.AmplitudeDamping.compute_kraus_matrices(0.5)
      [array([[1., 0.], [0., 0.70710678]]),
       array([[0., 0.70710678], [0., 0.]])]
      """
      if not np.is_abstract(gamma) and not 0.0 <= gamma <= 1.0:
          raise ValueError("gamma must be in the interval [0,1].")
  
      K0 = np.diag([1, np.sqrt(1 - gamma + np.eps)])
      K1 = np.sqrt(gamma + np.eps) * np.convert_like(
          np.cast_like(np.array([[0, 1], [0, 0]]), gamma), gamma
      )
      return [K0, K1]
  
imports: import warnings
  import pennylane.math
  from pennylane.operation import AnyWires, Channel
label_desc: Use image node_id 2 for calling the AmplitudeDamping obj's underlying member method code with example usage: obj.compute_kraus_matrices(gamma) and returns: list