We perform the first implementation of an NLP task on noisy intermediate-scale quantum (NISQ) hardware. Sentences are instantiated as parameterised quantum circuits. We encode word-meanings in quantum states and explicitly account for grammatical structure – which even in mainstream NLP is not commonplace – by faithfully hardwiring it as entangling operations.

Download PDF