A Quantum-inspired Particle Swarm Algorithm for Inverse Problem