Quantum Speedups: Structure, Design, and Application