Differential Privacy Amplification in Quantum and Quantum-inspired Algorithms