Uncertainty-Aware And Efficient Design Automation From Classical Circuit To Quantum Computing