Superconducting Nanowires for Digital and Quantum Logic