2022/05/10 by Alexis Toumi, Toumi, Alexis, Giovanni de Felice +3 · 1 citation
Computer Science · Decision Sciences · #Computational Physics and Python Applications #FOS: Physical sciences #Quantum Computing Algorithms and Architecture #Quantum Physics (quant-ph) #Scientific Computing and Data Management
paper · pdf · doi:10.48550/arxiv.2205.05190
openalex publication_date 2022/05/10 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28
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 parameterised circuits used in quantum machine learning, but also linear optical quantum computing. We review the recent developments of the library in this direction, making DisCoPy a toolbox for the quantum computer scientist.