Pattern Graph Rewrite Systems

String diagrams are a powerful tool for reasoning about physical processes, logic circuits, tensor networks, and many other compositional structures. Dixon, Duncan and Kissinger introduced string graphs, which are a combinatoric representations of string diagrams, amenable to automated reasoning about diagrammatic theories via graph rewrite systems. In this extended abstract, we show how the power of such rewrite systems can be greatly extended by introducing pattern graphs, which provide a means of expressing infinite families of rewrite rules where certain marked subgraphs, called !-boxes ("bang boxes"), on both sides of a rule can be copied any number of times or removed. After reviewing the string graph formalism, we show how string graphs can be extended to pattern graphs and how pattern graphs and pattern rewrite rules can be instantiated to concrete string graphs and rewrite rules. We then provide examples demonstrating the expressive power of pattern graphs and how they can be applied to study interacting algebraic structures that are central to categorical quantum mechanics.

[1]  Aleks Kissinger,et al.  Pictures of processes : automated graph rewriting for monoidal categories and applications to quantum computing , 2012, ArXiv.

[2]  Aleks Kissinger,et al.  Proceedings Sixth Workshop on Developments in Computational Models: Causality, Computation, and Physics, Edinburgh, Scotland, 9-10th July 2010 , 2010 .

[3]  Aleks Kissinger,et al.  Synthesising Graphical Theories , 2012, ATx/WInG@IJCAR.

[4]  Alexander K. Petrenko,et al.  Electronic Notes in Theoretical Computer Science , 2009 .

[5]  Aleks Kissinger,et al.  Open-graphs and monoidal theories† , 2010, Mathematical Structures in Computer Science.

[6]  Vedran Dunjko,et al.  Proceedings Sixth Workshop on Developments in Computational Models: Causality, Computation, and Physics, , 2010 .

[7]  Arend Rensink,et al.  Repotting the Geraniums: On Nested Graph Transformation Rules , 2009, Electron. Commun. Eur. Assoc. Softw. Sci. Technol..

[8]  Samson Abramsky,et al.  A categorical semantics of quantum protocols , 2004, LICS 2004.

[9]  Bob Coecke,et al.  Interacting Quantum Observables , 2008, ICALP.

[10]  Patrick Lincoln,et al.  Linear logic , 1992, SIGA.

[11]  Arend Rensink,et al.  Nested Quantification in Graph Transformation Rules , 2006, ICGT.

[12]  Aleks Kissinger,et al.  Open Graphs and Computational Reasoning , 2010, DCM.

[13]  Hartmut Ehrig,et al.  Graph-Grammars: An Algebraic Approach , 1973, SWAT.

[14]  Lucas Dixon,et al.  Graphical reasoning in compact closed categories for quantum computation , 2009, Annals of Mathematics and Artificial Intelligence.

[15]  D. Knuth,et al.  Simple Word Problems in Universal Algebras , 1983 .

[16]  Arend Rensink,et al.  Graph Abstraction and Abstract Graph Transformation , 2007 .

[17]  Jean-Pierre Jouannaud,et al.  Term Rewriting, French Spring School of Theoretical Computer Science, Advanced Course , 1993 .

[18]  M. Nivat Fiftieth volume of theoretical computer science , 1988 .

[19]  Yves Lafont Equational Reasoning with Two-Dimensional Diagrams , 1993, Term Rewriting.

[20]  Simon Perdrix,et al.  Bases in Diagrammatic Quantum Protocols , 2008, MFPS.

[21]  A. Joyal,et al.  The geometry of tensor calculus, I , 1991 .

[22]  Aleks Kissinger,et al.  The Compositional Structure of Multipartite Quantum Entanglement , 2010, ICALP.