execute the quantum_router resource in compile time