Quantum circuit determining method for a text, text classifying method and related devices
AssigneeOrigin Quantum Computing Technology (Hefei) Co., Ltd
InventorsMENGHAN DOU, Xiaofei Kong, Lei Li, Yuan Fang
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a quantum circuit determining method for a text, a text classifying method and related devices. The quantum circuit determining method for a text comprises obtaining parts of speech of words in a text corpus; obtaining relevancies between words according to semanteme of the text corpus; and determining qubits and parameter-containing quantum logic gates of quantum circuits according to the parts of speech and the relevancies.
Claims20
A quantum circuit determining method for a text, comprising:
- obtaining at least parts of speech of words in a text corpus;
- obtaining relevancies between the words according to semanteme of the text corpus;
- and
- determining qubits and parameter-containing quantum logic gates of quantum circuits according to the parts of speech and the relevancies.
14-19. (canceled)
A quantum circuit determining device for a text, characterized by comprising:
- a first obtaining device configured for obtaining parts of speech of the words in a text corpus;
- a second obtaining device configured for obtaining relevancies between the words according to semanteme of the text corpus;
- and
- a determining device configured for determining qubits and parameter-containing quantum logic gates of quantum circuits according to the parts of speech and the relevancies.
A text classifying device, comprising:
- a processing unit configured for converting a text corpus into a target quantum circuit according to parts of speech, meanings and relevancies of the words in the text corpus;
- wherein the relevancies comprise relevancies between each word and other words in the text corpus;
- the processing unit is further configured for obtaining a running result of the target quantum circuit, wherein the running result comprises an output result of a qubit when the target quantum circuit is run each time;
- and
- a predicting unit configured for obtaining a predictive classification result of the text corpus according to the running result.
Dependencies are inferred from the claim text.