class_docstr: Test additional/misc functionality relating to qml.cond
class_docstr_tok: ["Test","additional\/misc","functionality","relating","to","qml.cond"]
docstr: Tests the cond.map_wires function.
docstr_tok: ["Tests","the","cond.map_wires","function","."]
code: def test_map_wires(self):
      """Tests the cond.map_wires function."""
      with qml.queuing.AnnotatedQueue() as q:
          m_0 = qml.measure(0)
          qml.cond(m_0, qml.PauliX)(1)
  
      meas, cond_op = q.queue
      mapped_cond = cond_op.map_wires({0: "a", 1: "b"})
      assert mapped_cond.meas_val.measurements == [
          meas.map_wires({0: "a"})
      ]
      assert mapped_cond.then_op == qml.PauliX("b")
  
file_path: pennylane/tests/ops/op_math/test_condition.py
imports: import pytest
  import pennylane
  from pennylane.ops.op_math.condition import ConditionalTransformError
label_desc: Use image node_id 2 for calling the TestAdditionalCond obj's underlying member method code with example usage: obj.test_map_wires() without return types