Skip to main content

Showing 1–23 of 23 results for author: de Felice, G

.
  1. arXiv:2402.12598  [pdf, other

    cs.LG cs.AI

    Graph-based Virtual Sensing from Sparse and Partial Multivariate Observations

    Authors: Giovanni De Felice, Andrea Cini, Daniele Zambon, Vladimir V. Gusev, Cesare Alippi

    Abstract: Virtual sensing techniques allow for inferring signals at new unmonitored locations by exploiting spatio-temporal measurements coming from physical sensors at different locations. However, as the sensor coverage becomes sparse due to costs or other constraints, physical proximity cannot be used to support interpolation. In this paper, we overcome this challenge by leveraging dependencies between t… ▽ More

    Submitted 19 February, 2024; originally announced February 2024.

    Comments: Accepted at ICLR 2024

  2. arXiv:2401.07997  [pdf, ps, other

    quant-ph

    Differentiation of Linear Optical Circuits

    Authors: Giovanni de Felice, Christopher Cortlett

    Abstract: Experimental setups based on linear optical circuits and single photon sources offer a promising platform for near-term quantum machine learning. However, current applications are all based on support vector machines and gradient-free optimization methods. Differentiating an optical circuit over a phase parameter poses difficulty because it results in an operator on the Fock space which is not uni… ▽ More

    Submitted 18 January, 2024; v1 submitted 15 January, 2024; originally announced January 2024.

  3. arXiv:2311.17813  [pdf, other

    cs.CL math.CT

    Higher-Order DisCoCat (Peirce-Lambek-Montague semantics)

    Authors: Alexis Toumi, Giovanni de Felice

    Abstract: We propose a new definition of higher-order DisCoCat (categorical compositional distributional) models where the meaning of a word is not a diagram, but a diagram-valued higher-order function. Our models can be seen as a variant of Montague semantics based on a lambda calculus where the primitives act on string diagrams rather than logical formulae. As a special case, we show how to translate from… ▽ More

    Submitted 29 November, 2023; originally announced November 2023.

    Comments: 19 pages, 11 figures

  4. arXiv:2311.10608  [pdf, ps, other

    math.CT cs.MS

    DisCoPy: the Hierarchy of Graphical Languages in Python

    Authors: Alexis Toumi, Richie Yeung, Boldizsár Poór, Giovanni de Felice

    Abstract: DisCoPy is a Python toolkit for computing with monoidal categories. It comes with two flexible data structures for string diagrams: the first one for planar monoidal categories based on lists of layers, the second one for symmetric monoidal categories based on cospans of hypergraphs. Algorithms for functor application then allow to translate string diagrams into code for numerical computation, be… ▽ More

    Submitted 17 November, 2023; originally announced November 2023.

    Comments: 14 pages, 10 figures

  5. Light-Matter Interaction in the ZXW Calculus

    Authors: Giovanni de Felice, Razin A. Shaikh, Boldizsár Poór, Lia Yeh, Quanlong Wang, Bob Coecke

    Abstract: In this paper, we develop a graphical calculus to rewrite photonic circuits involving light-matter interactions and non-linear optical effects. We introduce the infinite ZW calculus, a graphical language for linear operators on the bosonic Fock space which captures both linear and non-linear photonic circuits. This calculus is obtained by combining the QPath calculus, a diagrammatic language for l… ▽ More

    Submitted 31 August, 2023; v1 submitted 3 June, 2023; originally announced June 2023.

    Comments: In Proceedings QPL 2023, arXiv:2308.15489. 27 pages, lots of figures

    Journal ref: EPTCS 384, 2023, pp. 20-46

  6. arXiv:2212.14494  [pdf, other

    cs.LO math.CT

    Coinductive Streams in Monoidal Categories

    Authors: Elena Di Lavore, Giovanni de Felice, Mario Román

    Abstract: We introduce monoidal streams. Monoidal streams are a generalization of causal stream functions, which can be defined in cartesian monoidal categories, to arbitrary symmetric monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric… ▽ More

    Submitted 21 May, 2024; v1 submitted 29 December, 2022; originally announced December 2022.

    Comments: Expanded version of Monoidal Streams for Dataflow Programming, arXiv:2202.02061. We thank the reviewers at LMCS for multiple suggestions that have improved this version. 57 pages, 33 figures

  7. arXiv:2212.06636  [pdf, other

    cs.CL math.CT

    Categorical Tools for Natural Language Processing

    Authors: Giovanni de Felice

    Abstract: This thesis develops the translation between category theory and computational linguistics as a foundation for natural language processing. The three chapters deal with syntax, semantics and pragmatics. First, string diagrams provide a unified model of syntactic structures in formal grammars. Second, functors compute semantics by turning diagrams into logical, tensor, neural or quantum computation… ▽ More

    Submitted 13 December, 2022; originally announced December 2022.

  8. arXiv:2205.05190  [pdf, other

    quant-ph

    DisCoPy for the quantum computer scientist

    Authors: Alexis Toumi, Giovanni de Felice, Richie Yeung

    Abstract: DisCoPy (Distributional Compositional Python) is an open source toolbox for computing with string diagrams and functors. In particular, the diagram data structure allows to encode various kinds of quantum processes, with functors for classical simulation and optimisation, as well as compilation and evaluation on quantum hardware. This includes the ZX calculus and its many variants, the parameteris… ▽ More

    Submitted 10 May, 2022; originally announced May 2022.

    Comments: Submitted to QPL 2022

  9. arXiv:2204.12985  [pdf, other

    quant-ph cs.LO

    Quantum Linear Optics via String Diagrams

    Authors: Giovanni de Felice, Bob Coecke

    Abstract: We establish a formal bridge between qubit-based and photonic quantum computing. We do this by defining a functor from the ZX calculus to linear optical circuits. In the process we provide a compositional theory of quantum linear optics which allows to reason about events involving multiple photons such as those required to perform linear-optical and fusion-based quantum computing.

    Submitted 15 November, 2023; v1 submitted 27 April, 2022; originally announced April 2022.

    Comments: In Proceedings QPL 2022, arXiv:2311.08375

    Journal ref: EPTCS 394, 2023, pp. 83-100

  10. arXiv:2202.02061  [pdf, other

    cs.LO cs.PL math.CT

    Monoidal Streams for Dataflow Programming

    Authors: Elena Di Lavore, Giovanni de Felice, Mario Román

    Abstract: We introduce monoidal streams: a generalization of causal stream functions to monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric monoidal category. At the same time, monoidal streams form a feedback monoidal category, which c… ▽ More

    Submitted 4 February, 2022; originally announced February 2022.

    Comments: Draft, 36 pages

    MSC Class: 18M05

  11. arXiv:2110.04236  [pdf, other

    cs.CL cs.AI quant-ph

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

    Authors: Dimitri Kartsaklis, Ian Fan, Richie Yeung, Anna Pearson, Robin Lorenz, Alexis Toumi, Giovanni de Felice, Konstantinos Meichanetzidis, Stephen Clark, Bob Coecke

    Abstract: 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 simplificati… ▽ More

    Submitted 8 October, 2021; originally announced October 2021.

  12. arXiv:2107.06776  [pdf, other

    quant-ph cs.CL

    How to make qubits speak

    Authors: Bob Coecke, Giovanni de Felice, Konstantinos Meichanetzidis, Alexis Toumi

    Abstract: 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… ▽ More

    Submitted 2 July, 2021; originally announced July 2021.

    Comments: Invited contribution to "Quantum Computing in the Arts and Humanities"

  13. arXiv:2103.07960  [pdf, other

    quant-ph cs.LG math.CT

    Diagrammatic Differentiation for Quantum Machine Learning

    Authors: Alexis Toumi, Richie Yeung, Giovanni de Felice

    Abstract: We introduce diagrammatic differentiation for tensor calculus by generalising the dual number construction from rigs to monoidal categories. Applying this to ZX diagrams, we show how to calculate diagrammatically the gradient of a linear map with respect to a phase parameter. For diagrams of parametrised quantum circuits, we get the well-known parameter-shift rule at the basis of many variational… ▽ More

    Submitted 18 September, 2021; v1 submitted 14 March, 2021; originally announced March 2021.

    Comments: In Proceedings QPL 2021, arXiv:2109.04886

    Journal ref: EPTCS 343, 2021, pp. 132-144

  14. Grammar-aware sentence classification on quantum computers

    Authors: Konstantinos Meichanetzidis, Alexis Toumi, Giovanni de Felice, Bob Coecke

    Abstract: Natural language processing (NLP) is at the forefront of great advances in contemporary AI, and it is arguably one of the most challenging areas of the field. At the same time, in the area of Quantum Computing (QC), with the steady growth of quantum hardware and notable improvements towards implementations of quantum algorithms, we are approaching an era when quantum computers perform tasks that c… ▽ More

    Submitted 14 February, 2023; v1 submitted 7 December, 2020; originally announced December 2020.

    Journal ref: Quantum Mach. Intell. 5, 10 (2023)

  15. arXiv:2012.03755  [pdf, other

    quant-ph cs.CL

    Foundations for Near-Term Quantum Natural Language Processing

    Authors: Bob Coecke, Giovanni de Felice, Konstantinos Meichanetzidis, Alexis Toumi

    Abstract: 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 can… ▽ More

    Submitted 7 December, 2020; originally announced December 2020.

    Comments: 43 pages, lots of pictures

  16. Functorial Language Games for Question Answering

    Authors: Giovanni de Felice, Elena Di Lavore, Mario Román, Alexis Toumi

    Abstract: We present some categorical investigations into Wittgenstein's language-games, with applications to game-theoretic pragmatics and question-answering in natural language processing.

    Submitted 25 January, 2021; v1 submitted 19 May, 2020; originally announced May 2020.

    Comments: In Proceedings ACT 2020, arXiv:2101.07888

    Journal ref: EPTCS 333, 2021, pp. 311-321

  17. arXiv:2005.04147  [pdf, other

    cs.CL quant-ph

    Quantum Natural Language Processing on Near-Term Quantum Computers

    Authors: Konstantinos Meichanetzidis, Stefano Gogioso, Giovanni de Felice, Nicolò Chiappori, Alexis Toumi, Bob Coecke

    Abstract: 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, encod… ▽ More

    Submitted 5 September, 2021; v1 submitted 8 May, 2020; originally announced May 2020.

    Comments: In Proceedings QPL 2020, arXiv:2109.01534. This work was originally commissioned by Cambridge Quantum Computing (CQC) and was carried out independently by the CQC team and the Hashberg team

    Journal ref: EPTCS 340, 2021, pp. 213-229

  18. DisCoPy: Monoidal Categories in Python

    Authors: Giovanni de Felice, Alexis Toumi, Bob Coecke

    Abstract: We introduce DisCoPy, an open source toolbox for computing with monoidal categories. The library provides an intuitive syntax for defining string diagrams and monoidal functors. Its modularity allows the efficient implementation of computational experiments in the various applications of category theory where diagrams have become a lingua franca. As an example, we used DisCoPy to perform natural l… ▽ More

    Submitted 28 January, 2021; v1 submitted 6 May, 2020; originally announced May 2020.

    Comments: In Proceedings ACT 2020, arXiv:2101.07888

    Journal ref: EPTCS 333, 2021, pp. 183-197

  19. There and back again: A circuit extraction tale

    Authors: Miriam Backens, Hector Miller-Bakewell, Giovanni de Felice, Leo Lobski, John van de Wetering

    Abstract: Translations between the quantum circuit model and the measurement-based one-way model are useful for verification and optimisation of quantum computations. They make crucial use of a property known as gflow. While gflow is defined for one-way computations allowing measurements in three different planes of the Bloch sphere, most research so far has focused on computations containing only measureme… ▽ More

    Submitted 23 March, 2021; v1 submitted 3 March, 2020; originally announced March 2020.

    Comments: 47 pages in body, 15 pages in appendices

    MSC Class: 81P68

    Journal ref: Quantum 5, 421 (2021)

  20. arXiv:2001.05006  [pdf, other

    cs.CV

    A smile I could recognise in a thousand: Automatic identification of identity from dental radiography

    Authors: Oscar de Felice, Gustavo de Felice

    Abstract: In this paper, we present a method to automatically compare multiple radiographs in order to find the identity of a patient out of the dental features. The method is based on the matching of image features, previously extracted by computer vision algorithms for image descriptor recognition. The principal application (being also our motivation to study the problem) of such a method would be in vict… ▽ More

    Submitted 14 January, 2020; originally announced January 2020.

    Comments: 10 pages, 12 figures

  21. arXiv:1905.07408  [pdf, ps, other

    cs.CL cs.DB cs.LO math.CT

    Functorial Question Answering

    Authors: Giovanni de Felice, Konstantinos Meichanetzidis, Alexis Toumi

    Abstract: 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 conjuncti… ▽ More

    Submitted 14 September, 2020; v1 submitted 17 May, 2019; originally announced May 2019.

    Comments: In Proceedings ACT 2019, arXiv:2009.06334

    Journal ref: EPTCS 323, 2020, pp. 84-94

  22. arXiv:1811.03277  [pdf, other

    cs.AI cs.CL cs.DB

    Towards Compositional Distributional Discourse Analysis

    Authors: Bob Coecke, Giovanni de Felice, Dan Marsden, Alexis Toumi

    Abstract: Categorical compositional distributional semantics provide a method to derive the meaning of a sentence from the meaning of its individual words: the grammatical reduction of a sentence automatically induces a linear map for composing the word vectors obtained from distributional semantics. In this paper, we extend this passage from word-to-sentence to sentence-to-discourse composition. To achieve… ▽ More

    Submitted 8 November, 2018; originally announced November 2018.

    Comments: In Proceedings CAPNS 2018, arXiv:1811.02701

    Journal ref: EPTCS 283, 2018, pp. 1-12

  23. A diagrammatic calculus of fermionic quantum circuits

    Authors: Giovanni de Felice, Amar Hadzihasanovic, Kang Feng Ng

    Abstract: We introduce the fermionic ZW calculus, a string-diagrammatic language for fermionic quantum computing (FQC). After defining a fermionic circuit model, we present the basic components of the calculus, together with their interpretation, and show how the main physical gates of interest in FQC can be represented in our language. We then list our axioms, and derive some additional equations. We prove… ▽ More

    Submitted 30 August, 2019; v1 submitted 3 January, 2018; originally announced January 2018.

    MSC Class: 81P68; 18D10

    Journal ref: Logical Methods in Computer Science, Volume 15, Issue 3 (September 2, 2019) lmcs:5143