A quantum algorithm is a step-by-step procedure for a quantum computer to solve problems using qubits, which can exist in superposition (0 and 1 simultaneously), become entangled, and use interference, allowing faster, more efficient solutions than classical computers.