Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpbm/dna-quantum
RNA to DNA using quantum computing
https://github.com/dpbm/dna-quantum
bioinformatics dna dna-transcription python qiskit quantum quantum-computing rna
Last synced: about 2 months ago
JSON representation
RNA to DNA using quantum computing
- Host: GitHub
- URL: https://github.com/dpbm/dna-quantum
- Owner: Dpbm
- Created: 2024-04-17T17:44:10.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-17T17:48:02.000Z (9 months ago)
- Last Synced: 2024-04-17T18:55:47.427Z (9 months ago)
- Topics: bioinformatics, dna, dna-transcription, python, qiskit, quantum, quantum-computing, rna
- Language: Jupyter Notebook
- Homepage: https://dpbm.github.io/dna-quantum/
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# RNA to DNA using quantum circuits
This is a simple circuit to transcribe a RNA to a DNA using quantum computing
## How it works?
the bases are encoding in two different quantum basis in the Bloch sphere
$C$ and $G$ are encoded in the computational basis using the $X$ gate, while the $A$ and $U$ are encoded in the Hadamard basis using the $H$ gate.
With this protocol, we insert the RNA as gates, then we rotate by $\pi$ using the $RY$ to get the relative base for the DNA.
![example](./example.png)
After that, we have encoded values in two different basis. To get the relative DNA bases, are used measurements on both $Z$ and $X$, and the values are pos-processed by a classical algorithm.
## How to use?
To check the project out, you may need to install some dependencies by running:
```bash
pip install -r requirements.txt# or with conda
conda deactivate
conda env create -f environment.yml
conda activate dna-quantum
```Then, you can check the [example.ipynb](./example.ipynb) or the functions source code at [transcode.py](./transcode.py).