qrisp.QuantumCircuit.from_qasm_file#

classmethod QuantumCircuit.from_qasm_file(filename: str) QuantumCircuit[source]#

Loads a QuantumCircuit from a QASM file.

Parameters:
filenamestr

A string pointing to a file obeying the OpenQASM syntax.

Returns:
QuantumCircuit

The corresponding QuantumCircuit.