code: def from_qasm(quantum_circuit: str):
      """Loads quantum circuits from a QASM string using the converter in the
      PennyLane-Qiskit plugin.
  
      **Example:**
  
      .. code-block:: python
  
          >>> hadamard_qasm = 'OPENQASM 2.0;' \\
          ...                 'include "qelib1.inc";' \\
          ...                 'qreg q[1];' \\
          ...                 'h q[0];'
          >>> my_circuit = qml.from_qasm(hadamard_qasm)
  
      The ``my_circuit`` template can now be used within QNodes, as a
      two-wire quantum template.
  
      >>> @qml.qnode(dev)
      >>> def circuit(x):
      >>>     qml.RX(x, wires=1)
      >>>     my_circuit(wires=(1, 0))
      >>>     return qml.expval(qml.PauliZ(0))
  
      Args:
          quantum_circuit (str): a QASM string containing a valid quantum circuit
  
      Returns:
          function: the PennyLane template created based on the QASM string
      """
      return load(quantum_circuit, format="qasm")
  
file_path: pennylane/pennylane/io.py
imports: from collections import defaultdict
  from importlib import metadata
  from sys import version_info
label_desc: Use image node_id 3 for calling a global function with example usage: from_qasm(quantum_circuit) and returns: load