Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

Quantum Query Processing: Unifying Database Querying and Information Retrieval

Ingo Schmitt

Published Jan 1, 2006• 3 citations
OpenAlex

Abstract

September 2006Abstract: Traditional database query languages are based on set theory and crisp first order logic. However, many applications require retrieval-like queries which return result objects associated with a degree value of being relevant to the query. Traditionally, retrieval systems estimate relevance by exploiting hidden object semantics whereas query processing in database systems relies on matching select-conditions with attribute values. Thus, different mechanisms were developed for database and information retrieval systems. In consequence, there is a lack of support for queries involving both retrieval and database search terms. In this work, we develop a unifying framework based on the mathematical formalism of quantum mechanics and quantum logic. Van Rijsbergen already discussed the strong relation between the formalism of quantum mechanics and information retrieval. The goal of this work is to interrelate concepts from database query processing to concepts from quantum mechanics and logic. As result, we obtain a common theory which allows us to incorporate seamlessly retrieval search into traditional database query processing. Exploiting our theoretical results, we introduce the quantum query language QQL. In contrast to competing approaches, our formalism is based on quantum logic.

Related papers

Quantum Computers Can Search Arbitrarily Large Databases by a Single Query

Lov K. Grover

This paper shows that a quantum mechanical algorithm that can query information relating to multiple items of the database can search a database for a unique item satisfying a given condition, in a single query [a query is defined as any question to the database to which the database has to return a (yes/no answer]. A classical algorithm will be limited to the information theoretic bound of at least ${log}_{2}N$ queries, which it would achieve by using a binary search.

arXiv:quant-ph/9706005•Physical Review Letters•Dec 8, 1997•432 citations

Investigation and Modelling of Quantum-like User Cognitive Behaviour in Information Access and Retrieval

Sagar Uprety

This thesis is fundamentally about using conceptual and mathematical constructs from the area of Quantum Theory in Information Retrieval (IR). The need and motivation for this is two-fold – firstly, it has been increasingly shown in decision sciences that human decision-making does not always conform to the norms of traditional probability and logic framework. The quantum framework offers a generalised probability and logic framework which can model decisions or judgements under dynamic context and ambiguity. Secondly, there is a need in IR for theories and models which improve our understanding of user behaviour. Hence it is worth exploring the combination of the quantum framework and IR, especially focused on the user aspects of IR. The overarching research question is whether there is evidence of user behaviour in IR scenarios which warrants the need for a quantum based approach by way of showing the limitations of the traditional (classical) approach. The methodology involves analysing data to detect quantum-like phenomena of interference, contextuality, incompatibility, etc. from two common data sources in IR–standard datasets like query log data, and through crowdsourced user studies designed similar to some quantum physics or cognitive science experiments. While the evidence of quantum-like phenomena from standard datasets is not convincing, we find that some of the user studies reveal the quantum-like structure of document judgements. One of the key findings which has implication for IR is the dynamic interactions between the different dimensions of relevance. For example, a user’s judgement of reliability of a document depends significantly on whether they found it understandable or not. Thus, the consideration of one relevance dimension or document feature can provide a context for another dimension, contrary to the current IR models which consider these features to be independent of each other and an objective property of the document. The quantum framework has been especially designed to deal with such scenarios where properties of systems or objects do not exist independent of measurement context. The thesis concludes with suggestions about incorporating quantum mathematical constructs into state-of-art IR algorithms.

•Jan 1, 2021•0 citations

Quantum formalism methods in information retrieval and processing of texts in natural languages

Igor Bessmertny, A.V. Vasiljev, Ю А Королёва +2 more

Creation of intelligent systems in the paradigm of logical decision-making requires formalization of knowledge in the form of ontologies, production models, etc.However, a rigorous formalization of knowledge is far from always possible due to the incompleteness, inaccuracy, and inconsistency of the data.In this regard, recently, the attention of researchers has shifted to extracting knowledge from natural language texts.Particularly noteworthy is the recently developing approach based on the use of quantum formalism to the objects of the macrocosm, which allows one to consider the uncertainty and inaccuracy inherent in the natural language.Numerous experiments conducted over the past 30 years demonstrate that the mathematical apparatus developed for modeling elementary particles also satisfactorily describes the behavior of people, which cannot be described by the mathematical apparatus of classical logic and probability theory.A review of the methods of processing natural language texts by means of quantum mathematics is presented.The methods are designed to eliminate the shortcomings of existing methods and means of information retrieval.

Известия высших учебных заведений. Приборостроение•Aug 29, 2019•1 citation

Quantum Natural Language Processing Application for Estimating SQL Query Metrics

Valter Uotila

Quantum Natural Language Processing (QNLP) is built on a novel, category theoretical quantum machine learning model, which we use to solve a well-researched problem in the database field: estimating metrics for SQL queries. The metrics we focus on are latency (i.e., the execution time), cost (i.e., a value of how expensive the query is in total), and cardinality (i.e., the number of rows in the result table). The critical link between QNLP and the database problem lies in using grammars, such as context-free grammar. Both natural language and SQL queries admit grammatical presentations, which allow us to develop a comprehensive framework for applying QNLP methods to solve the query estimation problem. The model comprises an encoding mechanism and a training phase, integrating classical and quantum subroutines. The encoding mechanism transforms SQL queries into parametrized quantum circuits as in QNLP. Classical optimization algorithms optimize the circuit parameters during training to predict query metrics. Comparing our model to the QNLP models, our model achieves accuracy comparable to the QNLP model in binary classification tasks. Additionally, we expand upon previous research by implementing multi-class classification tasks and comparing the cardinality estimation results to those of state-of-the-art databases. Our theoretical analysis of the quantum machine learning model includes calculations of its expressibility and entangling capabilities. The analysis reveals that the model possesses beneficial properties, making it suitable to be executed on near-term quantum hardware.

IEEE International Conference on Quantum Computing and Engineering (QCE)•Sep 15, 2024•1 citation

How the Quantum-inspired Framework Supports Keyword Searches on Multi-model Databases

Gongsheng Yuan

With the trend of increasing vendors to develop various multi-model databases, people have reaped benefits from using a single and unified platform to manage both well-structured and NoSQL data. However, it causes a steep learning curve of mastering a multi-model query language for the specific multi-model database, not to mention various languages for different databases. Therefore, this research discusses the motivations of performing keyword searches on multi-model databases and then presents our current research. Methodologically, we attempt to use the quantum-inspired framework to query and explore multi-model databases. Firstly, we apply non-classical probabilities to estimate the relevance between a keyword query and candidate answers for guaranteeing getting good accuracy. Then we use the Principle Component Analysis (PCA) method to optimize the quantum language model for capturing good scalability. Finally, experiments show that our approaches are effective and our framework outperforms the state-of-the-art approaches.

ACM International Conference on Information and Knowledge Management (CIKM)•Oct 19, 2020•1 citation

A Quantum-based Model for Interactive Information Retrieval (extended version)

Benjamin Piwowarski, Mounia Lalmas

Even the best information retrieval model cannot always identify the most useful answers to a user query. This is in particular the case with web search systems, where it is known that users tend to minimise their effort to access relevant information. It is, however, believed that the interaction between users and a retrieval system, such as a web search engine, can be exploited to provide better answers to users. Interactive Information Retrieval (IR) systems, in which users access information through a series of interactions with the search system, are concerned with building models for IR, where interaction plays a central role. There are many possible interactions between a user and a search system, ranging from query (re)formulation to relevance feedback. However, capturing them within a single framework is difficult and previously proposed approaches have mostly focused on relevance feedback. In this paper, we propose a general framework for interactive IR that is able to capture the full interaction process in a principled way. Our approach relies upon a generalisation of the probability framework of quantum physics, whose strong geometric component can be a key towards a successful interactive IR model.

arXiv:0906.4026•Jun 22, 2009•6 citations
September 2006Abstract: Traditional database query languages are based on set theory and crisp first order logic. However, many applications require retrieval-like queries which return result objects associated with a degree value of being relevant to the query. Traditionally, retrieval systems estimate relevance by exploiting hidden object semantics whereas query processing in database systems relies on matching select-conditions with attribute values. Thus, different mechanisms were developed for database and information retrieval systems. In consequence, there is a lack of support for queries involving both retrieval and database search terms. In this work, we develop a unifying framework based on the mathematical formalism of quantum mechanics and quantum logic. Van Rijsbergen already discussed the strong relation between the formalism of quantum mechanics and information retrieval. The goal of this work is to interrelate concepts from database query processing to concepts from quantum mechanics and logic. As result, we obtain a common theory which allows us to incorporate seamlessly retrieval search into traditional database query processing. Exploiting our theoretical results, we introduce the quantum query language QQL. In contrast to competing approaches, our formalism is based on quantum logic.
This paper shows that a quantum mechanical algorithm that can query information relating to multiple items of the database can search a database for a unique item satisfying a given condition, in a single query [a query is defined as any question to the database to which the database has to return a (yes/no answer]. A classical algorithm will be limited to the information theoretic bound of at least log2N{log}_{2}Nlog2​N queries, which it would achieve by using a binary search.
This thesis is fundamentally about using conceptual and mathematical constructs from the area of Quantum Theory in Information Retrieval (IR). The need and motivation for this is two-fold – firstly, it has been increasingly shown in decision sciences that human decision-making does not always conform to the norms of traditional probability and logic framework. The quantum framework offers a generalised probability and logic framework which can model decisions or judgements under dynamic context and ambiguity. Secondly, there is a need in IR for theories and models which improve our understanding of user behaviour. Hence it is worth exploring the combination of the quantum framework and IR, especially focused on the user aspects of IR. The overarching research question is whether there is evidence of user behaviour in IR scenarios which warrants the need for a quantum based approach by way of showing the limitations of the traditional (classical) approach. The methodology involves analysing data to detect quantum-like phenomena of interference, contextuality, incompatibility, etc. from two common data sources in IR–standard datasets like query log data, and through crowdsourced user studies designed similar to some quantum physics or cognitive science experiments. While the evidence of quantum-like phenomena from standard datasets is not convincing, we find that some of the user studies reveal the quantum-like structure of document judgements. One of the key findings which has implication for IR is the dynamic interactions between the different dimensions of relevance. For example, a user’s judgement of reliability of a document depends significantly on whether they found it understandable or not. Thus, the consideration of one relevance dimension or document feature can provide a context for another dimension, contrary to the current IR models which consider these features to be independent of each other and an objective property of the document. The quantum framework has been especially designed to deal with such scenarios where properties of systems or objects do not exist independent of measurement context. The thesis concludes with suggestions about incorporating quantum mathematical constructs into state-of-art IR algorithms.
Creation of intelligent systems in the paradigm of logical decision-making requires formalization of knowledge in the form of ontologies, production models, etc.However, a rigorous formalization of knowledge is far from always possible due to the incompleteness, inaccuracy, and inconsistency of the data.In this regard, recently, the attention of researchers has shifted to extracting knowledge from natural language texts.Particularly noteworthy is the recently developing approach based on the use of quantum formalism to the objects of the macrocosm, which allows one to consider the uncertainty and inaccuracy inherent in the natural language.Numerous experiments conducted over the past 30 years demonstrate that the mathematical apparatus developed for modeling elementary particles also satisfactorily describes the behavior of people, which cannot be described by the mathematical apparatus of classical logic and probability theory.A review of the methods of processing natural language texts by means of quantum mathematics is presented.The methods are designed to eliminate the shortcomings of existing methods and means of information retrieval.
Quantum Natural Language Processing (QNLP) is built on a novel, category theoretical quantum machine learning model, which we use to solve a well-researched problem in the database field: estimating metrics for SQL queries. The metrics we focus on are latency (i.e., the execution time), cost (i.e., a value of how expensive the query is in total), and cardinality (i.e., the number of rows in the result table). The critical link between QNLP and the database problem lies in using grammars, such as context-free grammar. Both natural language and SQL queries admit grammatical presentations, which allow us to develop a comprehensive framework for applying QNLP methods to solve the query estimation problem. The model comprises an encoding mechanism and a training phase, integrating classical and quantum subroutines. The encoding mechanism transforms SQL queries into parametrized quantum circuits as in QNLP. Classical optimization algorithms optimize the circuit parameters during training to predict query metrics. Comparing our model to the QNLP models, our model achieves accuracy comparable to the QNLP model in binary classification tasks. Additionally, we expand upon previous research by implementing multi-class classification tasks and comparing the cardinality estimation results to those of state-of-the-art databases. Our theoretical analysis of the quantum machine learning model includes calculations of its expressibility and entangling capabilities. The analysis reveals that the model possesses beneficial properties, making it suitable to be executed on near-term quantum hardware.
With the trend of increasing vendors to develop various multi-model databases, people have reaped benefits from using a single and unified platform to manage both well-structured and NoSQL data. However, it causes a steep learning curve of mastering a multi-model query language for the specific multi-model database, not to mention various languages for different databases. Therefore, this research discusses the motivations of performing keyword searches on multi-model databases and then presents our current research. Methodologically, we attempt to use the quantum-inspired framework to query and explore multi-model databases. Firstly, we apply non-classical probabilities to estimate the relevance between a keyword query and candidate answers for guaranteeing getting good accuracy. Then we use the Principle Component Analysis (PCA) method to optimize the quantum language model for capturing good scalability. Finally, experiments show that our approaches are effective and our framework outperforms the state-of-the-art approaches.
Even the best information retrieval model cannot always identify the most useful answers to a user query. This is in particular the case with web search systems, where it is known that users tend to minimise their effort to access relevant information. It is, however, believed that the interaction between users and a retrieval system, such as a web search engine, can be exploited to provide better answers to users. Interactive Information Retrieval (IR) systems, in which users access information through a series of interactions with the search system, are concerned with building models for IR, where interaction plays a central role. There are many possible interactions between a user and a search system, ranging from query (re)formulation to relevance feedback. However, capturing them within a single framework is difficult and previously proposed approaches have mostly focused on relevance feedback. In this paper, we propose a general framework for interactive IR that is able to capture the full interaction process in a principled way. Our approach relies upon a generalisation of the probability framework of quantum physics, whose strong geometric component can be a key towards a successful interactive IR model.