Skip to content

This repository hosts all the projects developed within the framework of the Bachelor thesis in order to create a Quantum Database Architecture.

Notifications You must be signed in to change notification settings

ToroData/Quantum-Database-Architecture-for-the-Quantum-Data-Scientist-Thesis

Repository files navigation

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 hosts all the projects developed within the framework of the Bachelor thesis.

The thesis proposes the use of a quantum database (qDB) capable of solving data security and ethical challenges—both in transit and at rest. In addition, addressing ethical treatment by ensuring protocols capable of detecting and preventing access to the data by an eavesdropper.

In the first part, the thesis presents the theoretical definition of the quantum database through the study of the system's dynamics under Lindblad operators, an Electromagnetically Induced Transparency (EIT) schema in a multi-level atomic configuration, and describing processes for high-fidelity data encoding.

In the second part, it provides a framework of quantum mechanics for data scientists, and the algorithm required to work with the qDB effectively.

Finally, the thesis concludes with a state-of-the-art proposal on how a quantum database can be constructed and used from both the hardware and the high-level software algorithm layers.

Particularly, the projects developed are related to quantum mechanics, quantum computing, and physics, including visualizations, simulations, and database implementations.

Table of Contents

  1. Quantum Database Simulation (qDB)
  2. Visualization and Decomposition of Quantum Gates
  3. Electromagnetically Induced Transparency (EIT) Semiclassical Visualization
  4. EIT Simulation and Visualization
  5. Uncertainty Principle Graph

1. Quantum Database Simulation (qDB)

This project implements a Quantum Database (qDB) that analyzes salary equality between departments in a company. The qDB uses the Hilbert space $\mathcal{H}$ and, for the case presented, the Grover's Search Algorithm to simulate the qDB and optimize the query and data analysis process.

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.


2. Visualization and Decomposition of Quantum Gates

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.

  1. Bloch Sphere:

Pure state (`Bloch_pure_state.png`):

Bloch Pure State

Mixed state (`Bloch_mixed_state.png`):

Bloch Mixed State
  1. Density matrix:

Pure state (`Density_pure_state.png`):

Density Pure State

Mixed state (`Density_mixed_state.png`):

Density Mixed State
  1. Decomposition of the Toffoli Gate:

`toffoli_decomposed_bw.png`:

Toffoli Decomposed

3. Electromagnetically Induced Transparency (EIT) Semiclassical Visualization

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.

4. EIT Simulation and 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.

Real and Imaginary Parts of First Order Electrical Susceptibility

Imaginary Part of Susceptibility


5. Uncertainty Principle Graph

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} ).

Uncertainty Principle Graph


Licence

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.

Contact

For questions or suggestions related specifically to this thesis, please contact:

About

This repository hosts all the projects developed within the framework of the Bachelor thesis in order to create a Quantum Database Architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published