qrisp.QuantumCircuit.from_qasm_str#

classmethod QuantumCircuit.from_qasm_str(qasm_string)[source]#

Loads a QuantumCircuit from a QASM String.

Parameters:
qasm_stringstring

A string obeying the syntax of the OpenQASM specification.

Returns:
QuantumCircuit

The corresponding QuantumCircuit.