class_docstr: Tests for the qml.map_wires method used with operators.
class_docstr_tok: ["Tests","for","the","qml.map_wires","method","used","with","operators","."]
docstr: Test the map_wires method while queuing with `queue=True` and `replace=False`.
docstr_tok: ["Test","the","map_wires","method","while","queuing","with","`","queue=True","`","and","`","replace=False","`","."]
code: def test_map_wires_with_queuing_and_without_replacing(self):
      """Test the map_wires method while queuing with `queue=True` and `replace=False`."""
      with qml.queuing.AnnotatedQueue() as q_tape:
          op = build_op()
          m_op = qml.map_wires(
              op, wire_map=wire_map, queue=True, replace=False
          )
      tape = QuantumScript.from_queue(q_tape)
      assert len(tape.circuit) == 2
      assert tape.circuit[0] is op
      assert tape.circuit[1] is m_op
      assert q_tape.get_info(op).get("owner", None) is None
  
imports: from functools import partial
  import pytest
  import pennylane
  from pennylane.ops import Prod
  from pennylane.tape import QuantumScript
  from pennylane.wires import Wires
label_desc: Use image node_id 3 for calling the TestMapWiresOperators obj's underlying member method code with example usage: obj.test_map_wires_with_queuing_and_without_replacing() without return types