Searcharxiv⌕ Search

arXiv subjects

Konstantinos Meichanetzidis

Publications and source records attributed to Konstantinos Meichanetzidis.

34 records · Page 2Linked to original sources

A Quantum Natural Language Processing Approach to Musical Intelligence

There has been tremendous progress in Artificial Intelligence (AI) for music, in particular for musical composition and access to large databases for commercialisation through the Internet. We are interested in further advancing this field, focusing on composition. In contrast to current black-box AI methods, we are championing an interpretable compositional outlook on generative music systems. In particular, we are importing methods from the Distributional Compositional Categorical (DisCoCat) modelling framework for Natural Language Processing (NLP), motivated by musical grammars. Quantum computing is a nascent technology, which is very likely to impact the music industry in time to come. Thus, we are pioneering a Quantum Natural Language Processing (QNLP) approach to develop a new generation of intelligent musical systems. This work follows from previous experimental implementations of DisCoCat linguistic models on quantum hardware. In this chapter, we present Quanthoven, the first proof-of-concept ever built, which (a) demonstrates that it is possible to program a quantum computer to learn to classify music that conveys different meanings and (b) illustrates how such a capability might be leveraged to develop a system to compose meaningful pieces of music. After a discussion about our current understanding of music as a communication medium and its relationship to natural language, the chapter focuses on the techniques developed to (a) encode musical compositions as quantum circuits, and (b) design a quantum classifier. The chapter ends with demonstrations of compositions created with the system.

quant-ph↗

lambeq: An Efficient High-Level Python Library for Quantum NLP

We present lambeq, the first high-level Python library for Quantum Natural Language Processing (QNLP). The open-source toolkit offers a detailed hierarchy of modules and classes implementing all stages of a pipeline for converting sentences to string diagrams, tensor networks, and quantum circuits ready to be used on a quantum computer. lambeq supports syntactic parsing, rewriting and simplification of string diagrams, ansatz creation and manipulation, as well as a number of compositional models for preparing quantum-friendly representations of sentences, employing various degrees of syntax sensitivity. We present the generic architecture and describe the most important modules in detail, demonstrating the usage with illustrative examples. Further, we test the toolkit in practice by using it to perform a number of experiments on simple NLP tasks, implementing both classical and quantum pipelines.

cs.CL↗

Quantum Natural Language Processing on Near-Term Quantum Computers

In this work, we describe a full-stack pipeline for natural language processing on near-term quantum computers, aka QNLP. The language-modelling framework we employ is that of compositional distributional semantics (DisCoCat), which extends and complements the compositional structure of pregroup grammars. Within this model, the grammatical reduction of a sentence is interpreted as a diagram, encoding a specific interaction of words according to the grammar. It is this interaction which, together with a specific choice of word embedding, realises the meaning (or "semantics") of a sentence. Building on the formal quantum-like nature of such interactions, we present a method for mapping DisCoCat diagrams to quantum circuits. Our methodology is compatible both with NISQ devices and with established Quantum Machine Learning techniques, paving the way to near-term applications of quantum technology to natural language processing.

cs.CL↗

Tensor Network Rewriting Strategies for Satisfiability and Counting

We provide a graphical treatment of SAT and #SAT on equal footing. Instances of #SAT can be represented as tensor networks in a standard way. These tensor networks are interpreted by diagrams of the ZH-calculus: a system to reason about tensors over C in terms of diagrams built from simple generators, in which computation may be carried out by transformations of diagrams alone. In general, nodes of ZH diagrams take parameters over C which determine the tensor coefficients; for the standard representation of #SAT instances, the coefficients take the value 0 or 1. Then, by choosing the coefficients of a diagram to range over B, we represent the corresponding instance of SAT. Thus, by interpreting a diagram either over the boolean semiring or the complex numbers, we instantiate either the decision or counting version of the problem. We find that for classes known to be in P, such as 2SAT and #XORSAT, the existence of appropriate rewrite rules allows for efficient simplification of the diagram, producing the solution in polynomial time. In contrast, for classes known to be NP-complete, such as 3SAT, or #P-complete, such as #2SAT, the corresponding rewrite rules introduce hyperedges to the diagrams, in numbers which are not easily bounded above by a polynomial. This diagrammatic approach unifies the diagnosis of the complexity of CSPs and #CSPs and shows promise in aiding tensor network contraction-based algorithms.

cs.CC↗

How to make qubits speak

This is a story about making quantum computers speak, and doing so in a quantum-native, compositional and meaning-aware manner. Recently we did question-answering with an actual quantum computer. We explain what we did, stress that this was all done in terms of pictures, and provide many pointers to the related literature. In fact, besides natural language, many other things can be implemented in a quantum-native, compositional and meaning-aware manner, and we provide the reader with some indications of that broader pictorial landscape, including our account on the notion of compositionality. We also provide some guidance for the actual execution, so that the reader can give it a go as well.

quant-ph↗

Foundations for Near-Term Quantum Natural Language Processing

We provide conceptual and mathematical foundations for near-term quantum natural language processing (QNLP), and do so in quantum computer scientist friendly terms. We opted for an expository presentation style, and provide references for supporting empirical evidence and formal statements concerning mathematical generality. We recall how the quantum model for natural language that we employ canonically combines linguistic meanings with rich linguistic structure, most notably grammar. In particular, the fact that it takes a quantum-like model to combine meaning and structure, establishes QNLP as quantum-native, on par with simulation of quantum systems. Moreover, the now leading Noisy Intermediate-Scale Quantum (NISQ) paradigm for encoding classical data on quantum hardware, variational quantum circuits, makes NISQ exceptionally QNLP-friendly: linguistic structure can be encoded as a free lunch, in contrast to the apparently exponentially expensive classical encoding of grammar. Quantum speed-up for QNLP tasks has already been established in previous work with Will Zeng. Here we provide a broader range of tasks which all enjoy the same advantage. Diagrammatic reasoning is at the heart of QNLP. Firstly, the quantum model interprets language as quantum processes via the diagrammatic formalism of categorical quantum mechanics. Secondly, these diagrams are via ZX-calculus translated into quantum circuits. Parameterisations of meanings then become the circuit variables to be learned. Our encoding of linguistic structure within quantum circuits also embodies a novel approach for establishing word-meanings that goes beyond the current standards in mainstream AI, by placing linguistic structure at the heart of Wittgenstein's meaning-is-context.

quant-ph↗

Functorial Question Answering

Distributional compositional (DisCo) models are functors that compute the meaning of a sentence from the meaning of its words. We show that DisCo models in the category of sets and relations correspond precisely to relational databases. As a consequence, we get complexity-theoretic reductions from semantics and entailment of a fragment of natural language to evaluation and containment of conjunctive queries, respectively. Finally, we define question answering as an NP-complete problem.

cs.CL↗

Meaning updating of density matrices

The DisCoCat model of natural language meaning assigns meaning to a sentence given: (i) the meanings of its words, and, (ii) its grammatical structure. The recently introduced DisCoCirc model extends this to text consisting of multiple sentences. While in DisCoCat all meanings are fixed, in DisCoCirc each sentence updates meanings of words. In this paper we explore different update mechanisms for DisCoCirc, in the case where meaning is encoded in density matrices---which come with several advantages as compared to vectors. Our starting point are two non-commutative update mechanisms, borrowing one from quantum foundations research, from Leifer and Spekkens. Unfortunately, neither of these satisfies any desirable algebraic properties, nor are internal to the meaning category. By passing to double density matrices we do get an elegant internal diagrammatic update mechanism. We also show that (commutative) spiders can be cast as an instance of the Leifer-Spekkens update mechanism. This result is of interest to quantum foundations, as it bridges the work in Categorical Quantum Mechanics (CQM) with that on conditional quantum states. Our work also underpins implementation of text-level natural language processing on quantum hardware (a.k.a. QNLP), for which exponential space-gain and quadratic speed-up have previously been identified.

quant-ph↗

Evaluating the Jones polynomial with tensor networks

We introduce tensor network contraction algorithms for the evaluation of the Jones polynomial of arbitrary knots. The value of the Jones polynomial of a knot maps to the partition function of a $q$-state Potts model defined as a planar graph with weighted edges that corresponds to the knot. For any integer $q$, we cast this partition function into tensor network form and employ fast tensor network contraction protocols to obtain the exact tensor trace, and thus the value of the Jones polynomial. By sampling random knots via a grid-walk procedure and computing the full tensor trace, we demonstrate numerically that the Jones polynomial can be evaluated in time that scales subexponentially with the number of crossings in the typical case. This allows us to evaluate the Jones polynomial of knots that are too complex to be treated with other available methods. Our results establish tensor network methods as a practical tool for the study of knots.

cond-mat.stat-mech↗

Scrambling via Braiding of Nonabelions

We study how quantum states are scrambled via braiding in systems of non-Abelian anyons through the lens of entanglement spectrum statistics. In particular, we focus on the degree of scrambling, defined as the randomness produced by braiding, at the same amount of entanglement entropy. To quantify the degree of randomness, we define a distance between the entanglement spectrum level spacing distribution of a state evolved under random braids and that of a Haar-random state, using the Kullback-Leibler divergence $D_{\mathrm{KL}}$. We study $D_{\mathrm{KL}}$ numerically for random braids of Majorana fermions (supplemented with random local four-body interactions) and Fibonacci anyons. For comparison, we also obtain $D_{\mathrm{KL}}$ for the Sachdev-Ye-Kitaev model of Majorana fermions with all-to-all interactions, random unitary circuits built out of (a) Hadamard (H), $π/8$ (T), and CNOT gates, and (b) random unitary circuits built out of two-qubit Haar-random unitaries. To compare the degree of randomness that different systems produce beyond entanglement entropy, we look at $D_{\mathrm{KL}}$ as a function of the Page limit-normalized entanglement entropy $S/S_{\mathrm{max}}$. Our results reveal a hierarchy of scrambling among various models --- even for the same amount of entanglement entropy --- at intermediate times, whereas all models exhibit the same late-time behavior. In particular, we find that braiding of Fibonacci anyons randomizes initial product states more efficiently than the universal H+T+CNOT set.

cond-mat.str-el↗

Machine Learning Entanglement Freedom Or: How I Learned to Stop Worrying and Love Linear Regression

Quantum many-body systems realise many different phases of matter characterised by their exotic emergent phenomena. While some simple versions of these properties can occur in systems of free fermions, their occurrence generally implies that the physics is dictated by an interacting Hamiltonian. The interaction distance has been successfully used to quantify the effect of interactions in a variety of states of matter via the entanglement spectrum [Nat. Commun. 8, 14926 (2017), arXiv:1705.09983]. The computation of the interaction distance reduces to a global optimisation problem whose goal is to search for the free-fermion entanglement spectrum closest to the given entanglement spectrum. In this work, we employ techniques from machine learning in order to perform this same task. In a supervised learning setting, we use labelled data obtained by computing the interaction distance and predict its value via linear regression. Moving to a semi-supervised setting, we train an auto-encoder to estimate an alternative measure to the interaction distance, and we show that it behaves in a similar manner.

cond-mat.str-el↗

Free-fermion descriptions of parafermion chains and string-net models

Topological phases of matter remain a focus of interest due to their unique properties -- fractionalisation, ground state degeneracy, and exotic excitations. While some of these properties can occur in systems of free fermions, their emergence is generally associated with interactions between particles. Here we quantify the role of interactions in general classes of topological states of matter in all spatial dimensions, including parafermion chains and string-net models. Using the interaction distance [Nat. Commun. 8, 14926 (2017)], we measure the distinguishability of states of these models from those of free fermions. We find that certain topological states can be exactly described by free fermions, while others saturate the maximum possible interaction distance. Our work opens the door to understanding the complexity of topological models and to applying new types of fermionisation procedures to describe their low-energy physics.

cond-mat.str-el↗

Optimal free descriptions of many-body theories

Interacting bosons or fermions give rise to some of the most fascinating phases of matter, including high-temperature superconductivity, the fractional quantum Hall effect, quantum spin liquids and Mott insulators. While these systems are promising for technological applications, they also present conceptual challenges as they require approaches beyond mean-field and perturbation theory. Here we develop a general framework for identifying the free theory that is closest to a given interacting model in terms of their ground state correlations. Moreover, we quantify the distance between them using the entanglement spectrum. When this interaction distance is small, the optimal free theory provides an effective description of the low energy physics of the interacting model. Our construction of the optimal free model is non-perturbative in nature, thus it offers a new theoretical framework for investigating strongly correlated systems.

cond-mat.str-el↗

Anatomy of Fermionic Entanglement and Criticality in Kitaev Spin Liquids

We analyse in detail the effect of non-trivial band topology on the area law behaviour of the entanglement entropy in Kitaev's honeycomb model. By mapping the translationally invariant 2D spin model into 1D fermionic subsystems, we identify those subsystems responsible for universal entanglement contributions in the gapped phases and those responsible for critical entanglement scaling in the gapless phases. For the gapped phases we analytically show how the topological edge states contribute to the entanglement entropy and provide a universal lower bound for it. For the gapless semi-metallic phases and topological phase transitions the identification of the critical subsystems shows that they fall always into the Ising or the XY universality classes. As our study concerns the fermionic degrees of freedom in the honeycomb model, qualitatively similar results are expected to apply also to generic topological insulators and superconductors.

cond-mat.str-el↗

Diagnosing Topological Edge States via Entanglement Monogamy

Topological phases of matter possess intricate correlation patterns typically probed by entanglement entropies or entanglement spectra. In this work, we propose an alternative approach to assessing topologically induced edge states in free and interacting fermionic systems. We do so by focussing on the fermionic covariance matrix. This matrix is often tractable either analytically or numerically and it precisely captures the relevant correlations of the system. By invoking the concept of monogamy of entanglement we show that highly entangled states supported across a system bi-partition are largely disentangled from the rest of the system, thus appearing usually as gapless edge states. We then define an entanglement qualifier that identifies the presence of topological edge states based purely on correlations present in the ground states. We demonstrate the versatility of this qualifier by applying it to various free and interacting fermionic topological systems.

cond-mat.str-el↗

Two-dimensional Chern semimetals on the Lieb lattice

In this work, we propose a new and simple model that supports Chern semimetals. These new gapless topological phases share several properties with the Chern insulators like a well-defined Chern number associated to each band, topologically protected edge states and topological phase transitions that occur when the bands touch each, with linear dispersion around the contact points. The tight-binding model, defined on the Lieb lattice with intra-unit-cell and suitable nearest-neighbor hopping terms between three different species of spinless fermions, supports a single Dirac-like point. The dispersion relation around this point is fully relativistic and the $3\times3$ matrices in the corresponding effective Hamiltonian satisfy the Duffin-Kemmer-Petiau algebra. We show the robustness of the topologically protected edge states by employing the entanglement spectrum. Moreover, we prove that the Chern number of the lowest band is robust with respect to weak disorder. For its simplicity, our model can be naturally implemented in real physical systems like cold atoms in optical lattices.

cond-mat.mes-hall↗