Metadata-Version: 2.1
Name: quantumcomputingsim
Version: 1.0.2
Summary: A library to simulate quantum computations
Home-page: https://github.com/StealthyPanda/quantumcomputingsim
Author: Shaik Mohammed Touseef
Author-email: shaikm259@gmail.com
Project-URL: repository, https://github.com/StealthyPanda/quantumcomputingsim
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

<p align="center">
  <a href="https://github.com/StealthyPanda/quantumcomputingsim" rel="noopener">
 <!-- <img width=200px height=200px src="./docs/logo.png" alt="Project logo"></a> -->
</p>

<h3 align="center">Quantum Computing Simulator  </h3>

<div align="center">

  [![Status](https://img.shields.io/badge/status-active-success.svg)]() 
  [![GitHub Issues](https://img.shields.io/github/issues/stealthypanda/quantumcomputingsim.svg)](https://img.shields.io/github/issues/stealthypanda/quantumcomputingsim.svg)
  [![GitHub Pull Requests](https://img.shields.io/github/issues-pr/stealthypanda/quantumcomputingsim.svg)](https://img.shields.io/github/issues-pr/stealthypanda/quantumcomputingsim.svg)
  [![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)
  ![GitHub release (latest by date)](https://img.shields.io/github/v/release/stealthypanda/quantumcomputingsim)

</div>

---

<p align="center"> A python library to simulate quantum programs and circuits.
    <br> 
</p>

## Table of Contents
- [Table of Contents](#table-of-contents)
- [Getting Started ](#getting-started-)
  - [Prerequisites](#prerequisites)
  - [Installing](#installing)
- [Usage ](#usage-)
- [Authors ](#authors-)

<!-- ## About <a name = "about"></a>
A python library to simulate quantum computing on classical computers. -->

## Getting Started <a name = "getting_started"></a>
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See [deployment](#deployment) for notes on how to deploy the project on a live system.

### Prerequisites
This library is self contained, and optionally uses matplotlib for plotting graphs.

### Installing
This library can be installed from pypi using pip:


```
$ pip install quantumcomputingsim
```

To make sure everything installed properly, import the main and only module in python:

```
from quantum import *
```

<!-- ## 🔧 Running the tests <a name = "tests"></a>
Explain how to run the automated tests for this system.

### Break down into end to end tests
Explain what these tests test and why

```
Give an example
```

### And coding style tests
Explain what these tests test and why

```
Give an example
``` -->

## Usage <a name="usage"></a>
*Go through example.ipynb for a comprehensive guide on using this library*

Sample workflow:

```
entangler = qprogram(
    nqbits = 2,
    name = "Entangler"
)
entangler.addgates(0, [HGATE, CNOT0])
entangler.compile()
```
Compiler result:
```
Compiling Entangler...

Entangler
q0(0) ⮕  -----[ h ]--⌈ c0 c0 ⌉-------
q1(0) ⮕  ------------⌊ c0 c0 ⌋-------


Compilation of Entangler complete!
```

and to run the program:

```
entangler.run(graph = True)
```
<!-- ![graph](./docs/graph.png) -->

and view bloch spheres for qubits:
```
plotbloch(HGATE * [0, 1])
```
<!-- ![bloch](./docs/bloch.png) -->

<!-- ## 🚀 Deployment <a name = "deployment"></a>
Add additional notes about how to deploy this on a live system.

## ⛏️ Built Using <a name = "built_using"></a>
- [MongoDB](https://www.mongodb.com/) - Database
- [Express](https://expressjs.com/) - Server Framework
- [VueJs](https://vuejs.org/) - Web Framework
- [NodeJs](https://nodejs.org/en/) - Server Environment -->

## Authors <a name = "authors"></a>
- [@stealthypanda](https://github.com/stealthypanda) - Idea & Initial work


<!-- 
See also the list of [contributors](https://github.com/kylelobo/The-Documentation-Compendium/contributors) who participated in this project.

## 🎉 Acknowledgements <a name = "acknowledgement"></a>
- Hat tip to anyone whose code was used
- Inspiration
- References -->
