The quantum MacMahon Master Theorem