Hybrid quantum-classical algorithms in the noisy intermediate-scale quantum era and beyond