Skip to content

Commit

Permalink
Merge pull request #6 from nylser/update-readme
Browse files Browse the repository at this point in the history
docs: more detailed README for repository
  • Loading branch information
nylser authored Jun 15, 2024
2 parents ea01f34 + 963a1c5 commit c564ab5
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,31 @@ Using this library, you can easily create larger sets of simulations and output
Per default, we are using [Tequila](https://github.com/tequilahub/tequila) as a quantum backend.

## Installation

To install quanti-gin run `pip install quanti-gin`.
This should install all required packages with quanti-gin.

## Usage

For a basic data generation job use:

python -m quanti_gin 4 100

The basic format of the command line is:

python -m quanti_gin <number_of_atoms> <number_of_jobs>

If you want to learn about more parameters you can use help:

python -m quanti_gin -h

## Customize the data generator

quanti-gin is designed so it can be easily customized with your heuristics for data generation.
You can create your own version by simply subclassing the `quanti_gin.DataGenerator` class.

A full example of this can be found in [examples/customized_generator.py](quanti_gin/examples/customized_generator.py).

You can run the example code by executing:

python -m quanti_gin.examples.customized_generator

0 comments on commit c564ab5

Please sign in to comment.