Quantum Database Architecture for the Quantum Data Scientist: A Theoretical Treatise on Lindblad Operators, EIT in Multi-Level Atomic Ensembles, and High-Fidelity Data Encoding
This repository contains all the projects developed as part of the Bachelor's thesis. For details on the thesis, refer to:
To cite the code, please use the following reference:
Quantum memories are indispensable for driving secure quantum communication networks, as well as for solving challenges in large-scale data storage and processing. This thesis is based on quantum mechanics and quantum optics—particularly on Electromagnetically Induced Transparency (EIT) and the DLCZ protocol—, and addresses critical issues of Big Data management, ethical information handling, and data security in data science. However, providing high-fidelity storage, mitigating noisy channels, and designing efficient quantum algorithms for secure and ethical data handling remains an open challenge. This thesis presents an architecture for quantum databases that combines the physics of multi-level atomic ensembles with state-of-the-art quantum algorithms. The objective is to attain secure and ethical Big Data handling by means of quantum memory systems. A review is carried out through Lindblad operators and light-matter interactions, establishing a quantum database architecture capable of responding to the requirements of data science. Both in the Lambda scheme within an EIT-based quantum memory and the DLCZ protocol, the system achieves high-fidelity photon-atom coherence and secure storage. At the algorithmic level, the proposal leverages Hilbert subspaces as logical partitions —similar to sharding in classical databases—, enabling scalable data encoding and manipulation through unitary operations. These operations allow for the efficient and parallel retrieval of information, while maintaining coherence in noisy environments. The simulation results confirm the theoretical framework described and demonstrate the system's ability to establish an ethical treatment of Big Data while strengthening information security. This thesis thus novelly proposes the integration of quantum systems in data science, addressing privacy, ethics, and security issues at scale, offering a framework with practical applications of secure data governance.
- Quantum Database Simulation (qDB)
- Visualization and Decomposition of Quantum Gates
- Electromagnetically Induced Transparency (EIT) Semiclassical Visualization
- EIT Simulation and Visualization
- Uncertainty Principle Graph
This project implements a Quantum Database (qDB) that analyzes salary equality between departments in a company. The qDB uses the Hilbert space
The salary is encoded in quantum states that allow the parallelization of searches. The Grover algorithm is used to identify the department that meets the equality condition. The Quantum Fourier Transform (QFT) is used as support for performing the sums.
A potential way of using a qDB applied to a real-world problem such as salary equality analysis is demonstrated.
- Link to Project: Quantum Database Simulation (qDB)
This directory contains the code that generates Figures A.7 and A.8 in the body of the BsC thesis. The scripts generate visualizations of the density matrices and the Bloch sphere representation for both a pure state and a mixed state.
- Bloch Sphere:
- Density matrix:
- Decomposition of the Toffoli Gate:
- Link to Project: Visualization and Decomposition of Quantum Gates
This script generates a visualization of EIT using a semiclassical approximation. It includes:
- Representation of the wave function.
- Velocity groups and photons.
- Representation of the Hamiltonian and Rabi frequencies.
- Link to Project: EIT Semiclassical Visualization
This project hosts a numerical simulation of Electromagnetically Induced Transparency (EIT) based on the Lindblad equation as well as the final visualization of the real and imaginary part of the first-order electrical susceptibility.
- Main Features:
- Simulation of EIT in a three-level Lambda scheme.
- Visualization of susceptibility for control ON/OFF states.
This project visualizes the Uncertainty Principle in quantum mechanics using a 2D contour plot. The graph illustrates the relation between position uncertainty ( \Delta x ) and momentum uncertainty ( \Delta p ), and the minimum bound defined by ( \frac{\hbar}{2} ).
- Link to Project: Uncertainty Principle Graph
Presentation used in the defense
- Link to Project: Presentation used in the defense
This project is licensed under the same terms as the BSc thesis it is derived from. Please refer to the thesis documentation for specific licensing details and any applicable restrictions.
For questions or suggestions related specifically to this thesis, please contact:
- Name: Ricard Santiago Raigada García
- Email: rraigadag@uoc.edu