class_docstr: Tests for the WireCut operator
class_docstr_tok: ["Tests","for","the","WireCut","operator"]
docstr: Tests that the WireCut operator behaves as the Identity in the
  absence of cutting
docstr_tok: ["Tests","that","the","WireCut","operator","behaves","as","the","Identity","in","the","absence","of","cutting"]
code: def test_behaves_as_identity(self):
      """Tests that the WireCut operator behaves as the Identity in the
      absence of cutting"""
  
      dev = qml.device("default.qubit", wires=1)
  
      @qml.qnode(dev)
      def with_wirecut():
          qml.PauliX(wires=0)
          qml.WireCut(wires=0)
          return qml.state()
  
      @qml.qnode(dev)
      def without_wirecut():
          qml.PauliX(wires=0)
          return qml.state()
  
      assert np.allclose(with_wirecut(), without_wirecut())
  
imports: import pytest
  import numpy
  from pennylane import Snapshot
  import pennylane
label_desc: Use image node_id 1 for calling the TestWireCut obj's underlying member method code with example usage: obj.test_behaves_as_identity() and returns: qml, qml