Quantum simulation of partially distinguishable boson sampling