Chip fotonico che genera e misura stati quantistici di luce