Giter Site home page Giter Site logo

dpbm / dna-quantum Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 62 KB

RNA to DNA using quantum computing

Home Page: https://dpbm.github.io/dna-quantum/

Jupyter Notebook 96.74% Python 3.26%
bioinformatics dna dna-transcription python qiskit quantum quantum-computing rna

dna-quantum's Introduction

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

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:

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 or the functions source code at transcode.py.

dna-quantum's People

Contributors

dpbm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.