qbraid.programs.convert_qasm_pi_to_decimal

convert_qasm_pi_to_decimal(qasm_str)[source]

Convert all instances of ‘pi’ in the QASM string to their decimal value.

Return type:

str