src/compiler.cc
/**
     * @brief   Sets a pass option
     * @param   passName String name of the pass
     * @param   optionName String option name
     * @param   optionValue String value of the option
     */
@brief   Sets a pass option
@param   passName String name of the pass
@param   optionName String option name
@param   optionValue String value of the option
@brief Sets a pass option @param passName String name of the pass @param optionName String option name @param optionValue String value of the option
void quantum_compiler::setPassOption(std::string passName, std::string optionName, std::string optionValue)
{
    DOUT(" Set option " << optionName << " = " << optionValue << " for pass " << passName); 
    if (passName == "ALL")
    {
        passManager->setPassOptionAll(optionName, optionValue);
    }
    else
    {
        AbstractPass *pass = passManager->findPass(passName);  
        assert(pass);
        pass->setPassOption(optionName, optionValue);
    }
}
void quantum_compiler :: setPassOption ( std :: string passName , std :: string optionName , std :: string optionValue ) { DOUT ( " " << optionName << " " << optionValue << " " << passName ) ; if ( passName == " " ) { passManager -> setPassOptionAll ( optionName , optionValue ) ; } else { AbstractPass * pass = passManager -> findPass ( passName ) ; assert ( pass ) ; pass -> setPassOption ( optionName , optionValue ) ; } }
@brief   Sets a pass option
 @param   passName String name of the pass
 @param   optionName String option name
 @param   optionValue String value of the option
@brief Sets a pass option @param passName String name of the pass @param optionName String option name @param optionValue String value of the option