src/report.cc
/*
     * reports the qasm
     * in a file with a name that contains the program name and the place from where the report is done
     */
reports the qasm
in a file with a name that contains the program name and the place from where the report is done
reports the qasm in a file with a name that contains the program name and the place from where the report is done
void report_qasm(quantum_program*           programp,
                const ql::quantum_platform&     platform,
                const std::string               in_or_out,
                const std::string               pass_name
               )
    {
        if( ql::options::get("write_qasm_files") == "yes")
        {
            std::stringstream fname;
            fname = report_compose_report_name(programp->unique_name, in_or_out, pass_name, "qasm");
            report_write_qasm(fname, programp, platform);
        }
    }
void report_qasm ( quantum_program * programp , const ql :: quantum_platform & platform , const std :: string in_or_out , const std :: string pass_name ) { if ( ql :: options :: get ( " " ) == " " ) { std :: stringstream fname ; fname = report_compose_report_name ( programp -> unique_name , in_or_out , pass_name , " " ) ; report_write_qasm ( fname , programp , platform ) ; } }
reports the qasm
 in a file with a name that contains the program name and the place from where the report is done
reports the qasm in a file with a name that contains the program name and the place from where the report is done