Quantum Inspired and Quantum Optimization