qbraid.programs.remove_qasm_barriers

remove_qasm_barriers(qasm_str)[source]

Returns a copy of the input QASM with all barriers removed.

Parameters:

qasm_str (str) – QASM to remove barriers from.

Return type:

str