QuantumCircuit.from_qasm_file

static QuantumCircuit.from_qasm_file(path)[source]

Take in a QASM file and generate a QuantumCircuit object.

Parameters

path (str) – Path to the file for a QASM program

Returns

The QuantumCircuit object for the input QASM

Return type

QuantumCircuit