code: def from_qasm_file(qasm_filename: str):
      """Loads quantum circuits from a QASM file using the converter in the
      PennyLane-Qiskit plugin.
  
      **Example:**
  
      >>> my_circuit = qml.from_qasm("hadamard_circuit.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:
          qasm_filename (str): path to a QASM file containing a valid quantum circuit
  
      Returns:
          function: the PennyLane template created based on the QASM file
      """
      return load(qasm_filename, format="qasm_file")
  
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 4 for calling a global function with example usage: from_qasm_file(qasm_filename) and returns: load