class_docstr: Single-qubit Reset error channel.
  
  This channel is modelled by the following Kraus matrices:
  
  .. math::
      K_0 = \sqrt{1-p_0-p_1} \begin{bmatrix}
              1 & 0 \\
              0 & 1
              \end{bmatrix}
  
  .. math::
      K_1 = \sqrt{p_0}\begin{bmatrix}
              1 & 0  \\
              0 & 0
              \end{bmatrix}
  
  .. math::
      K_2 = \sqrt{p_0}\begin{bmatrix}
              0 & 1  \\
              0 & 0
              \end{bmatrix}
  
  .. math::
      K_3 = \sqrt{p_1}\begin{bmatrix}
              0 & 0  \\
              1 & 0
              \end{bmatrix}
  
  .. math::
      K_4 = \sqrt{p_1}\begin{bmatrix}
              0 & 0  \\
              0 & 1
              \end{bmatrix}
  
  where :math:`p_0 \in [0, 1]` is the probability of a reset to 0,
  and :math:`p_1 \in [0, 1]` is the probability of a reset to 1 error.
  
  **Details:**
  
  * Number of wires: 1
  * Number of parameters: 2
  
  Args:
      p_0 (float): The probability that a reset to 0 error occurs.
      p_1 (float): The probability that a reset to 1 error occurs.
      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","Reset","error","channel",".","This","channel","is","modelled","by","the","following","Kraus","matrices",":","..","math",":",":","K_0","=","\\sqrt","{","1-p_0-p_1","}","\\begin","{","bmatrix","}","1","&","0","\\\\","0","&","1","\\end","{","bmatrix","}","..","math",":",":","K_1","=","\\sqrt","{","p_0","}","\\begin","{","bmatrix","}","1","&","0","\\\\","0","&","0","\\end","{","bmatrix","}","..","math",":",":","K_2","=","\\sqrt","{","p_0","}","\\begin","{","bmatrix","}","0","&","1","\\\\","0","&","0","\\end","{","bmatrix","}","..","math",":",":","K_3","=","\\sqrt","{","p_1","}","\\begin","{","bmatrix","}","0","&","0","\\\\","1","&","0","\\end","{","bmatrix","}","..","math",":",":","K_4","=","\\sqrt","{","p_1","}","\\begin","{","bmatrix","}","0","&","0","\\\\","0","&","1","\\end","{","bmatrix","}","where",":","math",":","`","p_0","\\in","[","0",",","1","]","`","is","the","probability","of","a","reset","to","0",",","and",":","math",":","`","p_1","\\in","[","0",",","1","]","`","is","the","probability","of","a","reset","to","1","error",".","*","*","Details",":","*","*","*","Number","of","wires",":","1","*","Number","of","parameters",":","2","Args",":","p_0","(","float",")",":","The","probability","that","a","reset","to","0","error","occurs",".","p_1","(","float",")",":","The","probability","that","a","reset","to","1","error","occurs",".","wires","(","Sequence","[","int","]","or","int",")",":","the","wire","the","channel","acts","on","id","(","str","or","None",")",":","String","representing","the","operation","(","optional",")"]
code: def __init__(self, p0, p1, wires, id=None):
      super().__init__(p0, p1, 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 ResetError object from inherited base classes: Channel with example: obj = ResetError(p0, p1, wires, id)