A streamlined quantum algorithm for topological data analysis with exponentially fewer qubits