Wildcat Python SDK to Use Annealers
Project description
[![Build Status](https://travis-ci.org/skonb/wildcat_qdk.svg?branch=feature%2Ftravis_ci)](https://travis-ci.org/skonb/wildcat_qdk)
Wildcat Python SDK
===============================
version number: 0.0.1
author: Shumpei Kobayashi
Overview
--------
Wildcat Python SDK to Use Annealers
Installation / Usage
--------------------
To install use pip:
$ pip install wildcat
Or clone the repo:
$ git clone https://github.com/mdrft/wildcat_qdk.git
$ python setup.py install
Contributing
------------
TBD
Example
-------
To find an optimal arrangement:
```python
from wildcat.util.matrix import random_symmetric_matrix
from wildcat.solver.ising_hamiltonian_solver import IsingHamiltonianSolver
Jij = random_symmetric_matrix()
solver = IsingHamiltonianSolver(ising_interactions=Jij)
def callback(arrangement):
print(arrangement)
solver.solve(callback)
```
Wildcat Python SDK
===============================
version number: 0.0.1
author: Shumpei Kobayashi
Overview
--------
Wildcat Python SDK to Use Annealers
Installation / Usage
--------------------
To install use pip:
$ pip install wildcat
Or clone the repo:
$ git clone https://github.com/mdrft/wildcat_qdk.git
$ python setup.py install
Contributing
------------
TBD
Example
-------
To find an optimal arrangement:
```python
from wildcat.util.matrix import random_symmetric_matrix
from wildcat.solver.ising_hamiltonian_solver import IsingHamiltonianSolver
Jij = random_symmetric_matrix()
solver = IsingHamiltonianSolver(ising_interactions=Jij)
def callback(arrangement):
print(arrangement)
solver.solve(callback)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wildcat-0.0.2.tar.gz
(4.3 kB
view hashes)