Pete Shadbolt 5 anni fa
parent
commit
045aba201c
1 ha cambiato i file con 15 aggiunte e 1 eliminazioni
  1. +15
    -1
      README.md

+ 15
- 1
README.md Vedi File

@@ -1,6 +1,20 @@
# abp 0.6.1
Python port of Anders and Briegel' s [method](https://arxiv.org/abs/quant-ph/0504117) for fast simulation of Clifford circuits.

## Usage

```python
import abp
from abp.util import xyz
g = abp.GraphState()
g.add_qubit("alice", position=xyz(0, 0, 0))
g.add_qubit("bob", position=xyz(0, 0, 0))
g.act_hadamard("alice")
g.act_hadamard("bob")
g.act_cz("alice", "bob")
g.push() # Sends for visualization
```

## Installation

Install from source
@@ -10,7 +24,7 @@ $ git clone http://gitlab.psiquantum.lan/pete/abp
$ cd abp
$ virtualenv env
$ source env/bin/activate
$ python setup.py develop --user
$ python setup.py develop
```

## Documentation


Loading…
Annulla
Salva