A Biset-Enriched Categorical Model for Proto-Quipper with Dynamic
Lifting
- URL: http://arxiv.org/abs/2204.13039v2
- Date: Wed, 15 Nov 2023 11:05:06 GMT
- Title: A Biset-Enriched Categorical Model for Proto-Quipper with Dynamic
Lifting
- Authors: Peng Fu (Dalhousie University), Kohei Kishida (University of Illinois
at Urbana-Champaign), Neil J. Ross (Dalhousie University), Peter Selinger
(Dalhousie University)
- Abstract summary: Quipper and Proto-Quipper are family of quantum programming languages.
Quipper and Proto-Quipper involve two runtimes: one at which the program generates a circuit and one at which the circuit is executed.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Quipper and Proto-Quipper are a family of quantum programming languages that,
by their nature as circuit description languages, involve two runtimes: one at
which the program generates a circuit and one at which the circuit is executed,
normally with probabilistic results due to measurements. Accordingly, the
language distinguishes two kinds of data: parameters, which are known at
circuit generation time, and states, which are known at circuit execution time.
Sometimes, it is desirable for the results of measurements to control the
generation of the next part of the circuit. Therefore, the language needs to
turn states, such as measurement outcomes, into parameters, an operation we
call dynamic lifting. The goal of this paper is to model this interaction
between the runtimes by providing a general categorical structure enriched in
what we call "bisets". We demonstrate that the biset-enriched structure
achieves a proper semantics of the two runtimes and their interaction, by
showing that it models a variant of Proto-Quipper with dynamic lifting. The
present paper deals with the concrete categorical semantics of this language,
whereas a companion paper deals with the syntax, type system, operational
semantics, and abstract categorical semantics.
Related papers
- Circuit Width Estimation via Effect Typing and Linear Dependency (Long
Version) [1.3597551064547502]
We present Proto-Quipper-R, a circuit description language endowed with a linear dependent type-and-effect system.
We show that our approach is expressive enough to verify realistic quantum algorithms.
arXiv Detail & Related papers (2023-10-29T18:10:31Z) - Generative Models as a Complex Systems Science: How can we make sense of
large language model behavior? [75.79305790453654]
Coaxing out desired behavior from pretrained models, while avoiding undesirable ones, has redefined NLP.
We argue for a systematic effort to decompose language model behavior into categories that explain cross-task performance.
arXiv Detail & Related papers (2023-07-31T22:58:41Z) - An Interleaving Semantics of the Timed Concurrent Language for
Argumentation to Model Debates and Dialogue Games [0.0]
We propose a language for modelling concurrent interaction between agents.
Such a language exploits a shared memory used by the agents to communicate and reason on the acceptability of their beliefs.
We show how it can be used to model interactions such as debates and dialogue games taking place between intelligent agents.
arXiv Detail & Related papers (2023-06-13T10:41:28Z) - Category Theory for Quantum Natural Language Processing [0.0]
This thesis introduces quantum natural language processing (QNLP) models based on an analogy between computational linguistics and quantum mechanics.
The grammatical structure of text and sentences connects the meaning of words in the same way that entanglement structure connects the states of quantum systems.
We turn this abstract analogy into a concrete algorithm that translates the grammatical structure onto the architecture of parameterised quantum circuits.
We then use a hybrid classical-quantum algorithm to train the model so that evaluating the circuits computes the meaning of sentences in data-driven tasks.
arXiv Detail & Related papers (2022-12-13T14:38:57Z) - Hierarchical Phrase-based Sequence-to-Sequence Learning [94.10257313923478]
We describe a neural transducer that maintains the flexibility of standard sequence-to-sequence (seq2seq) models while incorporating hierarchical phrases as a source of inductive bias during training and as explicit constraints during inference.
Our approach trains two models: a discriminative derivation based on a bracketing grammar whose tree hierarchically aligns source and target phrases, and a neural seq2seq model that learns to translate the aligned phrases one-by-one.
arXiv Detail & Related papers (2022-11-15T05:22:40Z) - The Whole Truth and Nothing But the Truth: Faithful and Controllable
Dialogue Response Generation with Dataflow Transduction and Constrained
Decoding [65.34601470417967]
We describe a hybrid architecture for dialogue response generation that combines the strengths of neural language modeling and rule-based generation.
Our experiments show that this system outperforms both rule-based and learned approaches in human evaluations of fluency, relevance, and truthfulness.
arXiv Detail & Related papers (2022-09-16T09:00:49Z) - BenchCLAMP: A Benchmark for Evaluating Language Models on Syntactic and
Semantic Parsing [55.058258437125524]
We introduce BenchCLAMP, a Benchmark to evaluate Constrained LAnguage Model Parsing.
We benchmark eight language models, including two GPT-3 variants available only through an API.
Our experiments show that encoder-decoder pretrained language models can achieve similar performance or surpass state-of-the-art methods for syntactic and semantic parsing when the model output is constrained to be valid.
arXiv Detail & Related papers (2022-06-21T18:34:11Z) - Proto-Quipper with dynamic lifting [1.5274311118568713]
We extend Proto-Quipper-M with a construct called dynamic lifting, which is present in Quipper.
Dynamic lifting enables Proto-Quipper programs to interleave classical and quantum computation.
arXiv Detail & Related papers (2022-04-27T16:34:15Z) - Concrete Categorical Model of a Quantum Circuit Description Language
with Measurement [7.439160287320074]
We introduce dynamic lifting to a quantum circuit-description language, following the Proto-Quipper language approach.
We propose a type system and an operational semantics for the language and we state safety properties.
Our approach is to construct on top of a concrete category of circuits with measurements a Kleisli category, capturing as a side effect the action of retrieving classical content out of a quantum memory.
arXiv Detail & Related papers (2021-10-06T12:29:03Z) - SChME at SemEval-2020 Task 1: A Model Ensemble for Detecting Lexical
Semantic Change [58.87961226278285]
This paper describes SChME, a method used in SemEval-2020 Task 1 on unsupervised detection of lexical semantic change.
SChME usesa model ensemble combining signals of distributional models (word embeddings) and wordfrequency models where each model casts a vote indicating the probability that a word sufferedsemantic change according to that feature.
arXiv Detail & Related papers (2020-12-02T23:56:34Z) - NLP-CIC @ DIACR-Ita: POS and Neighbor Based Distributional Models for
Lexical Semantic Change in Diachronic Italian Corpora [62.997667081978825]
We present our systems and findings on unsupervised lexical semantic change for the Italian language.
The task is to determine whether a target word has evolved its meaning with time, only relying on raw-text from two time-specific datasets.
We propose two models representing the target words across the periods to predict the changing words using threshold and voting schemes.
arXiv Detail & Related papers (2020-11-07T11:27:18Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.