🤖 AI Summary
To address the challenges of training and generalizing quantum word embeddings on noisy intermediate-scale quantum (NISQ) devices, this paper proposes the Quantum Contrastive Embedding (QCE) framework. QCE employs shallow variational quantum circuits incorporating data re-uploading and ring-shaped controlled-entanglement encoding for vocabulary representation. Word similarity is modeled via quantum state fidelity, and a logit-fidelity output head is designed to align the learning objective with the shifted PMI scale implicitly optimized by Skip-Gram with Negative Sampling (SGNS). To mitigate gradient vanishing and enhance trainability under noise, we introduce an entanglement-budget regularization based on single-qubit purity. Additionally, error mitigation techniques—including zero-noise extrapolation and randomized compiling—are integrated. On Text8 and WikiText2, QCE achieves performance comparable to 50–100-dimensional classical embeddings on intrinsic (WordSim353, SimLex999) and extrinsic (SST-2, TREC-6) tasks, using significantly fewer parameters per token—demonstrating hardware efficiency and semantic consistency.
📝 Abstract
We present QuCoWE a framework that learns quantumnative word embeddings by training shallow hardwareefficient parameterized quantum circuits PQCs with a contrastive skipgram objective Words are encoded by datareuploading circuits with controlled ring entanglement similarity is computed via quantum state fidelity and passed through a logitfidelity head that aligns scores with the shiftedPMI scale of SGNSNoiseContrastive Estimation To maintain trainability we introduce an entanglementbudget regularizer based on singlequbit purity that mitigates barren plateaus On Text8 and WikiText2 QuCoWE attains competitive intrinsic WordSim353 SimLex999 and extrinsic SST2 TREC6 performance versus 50100d classical baselines while using fewer learned parameters per token All experiments are run in classical simulation we analyze depolarizingreadout noise and include errormitigation hooks zeronoise extrapolation randomized compiling to facilitate hardware deployment