semvec/pypi-packages huggingface dataset:
sbovqaopt 0.1.0
Surrogate-based optimizer for variational quantum algorithms.
Requires Python: >=3.6

[![Python package](https://github.com/sandialabs/sbovqaopt/actions/workflows/python-package.yml/badge.svg)](https://github.com/sandialabs/sbovqaopt/actions/workflows/python-package.yml)

# sbovqaopt: Surrogate-based optimizer for variational quantum algorithms

The `sbovqaopt` package provides a surrogate-based optimizer for variational quantum algorithms as introduced in [arXiv:2204.05451](https://arxiv.org/abs/2204.05451).


## Installation

The `sbovqaopt` package distribution is hosted on PyPI and can be installed via `pip`:

```
pip install sbovqaopt
```

## Usage

For examples of using `sbovqaopt`, see the [example notebooks](./examples) and [unit tests](./tests).

## Development

For development purposes, the package and its requirements can be installed by cloning the repository locally:

```
git clone https://github.com/sandialabs/sbovqaopt
cd sbovqaopt
pip install -r requirements.txt
pip install -e .
```

## Citation

If you use or refer to this project in any publication, please cite the corresponding paper:

> Ryan Shaffer, Lucas Kocia, Mohan Sarovar. _Surrogate-based optimization for variational quantum algorithms._ [arXiv:2204.05451](https://arxiv.org/abs/2204.05451) (2022).
AlgebraicNumber 2.4.4
Manipulation of algebraic numbers
Requires Python: >=3.5

# AlgebraicNumber

[![image](https://img.shields.io/pypi/v/AlgebraicNumber.svg)](https://pypi.python.org/pypi/AlgebraicNumber)
[![image](https://gitlab.com/ydethe/algebraicnumber/badges/master/pipeline.svg)](https://gitlab.com/ydethe/algebraicnumber/pipelines)
[![codecov](https://codecov.io/gl/ydethe/algebraicnumber/branch/master/graph/badge.svg?token=T84J2LCHND)](https://codecov.io/gl/ydethe/algebraicnumber)

A library to manipulate algebraic numbers

## Documentation

To generate the documentation,run:

    nox
    
https://ydethe.gitlab.io/algebraicnumber/docs

## Usage

    >>> z = AlgebraicNumber.unity() + AlgebraicNumber.imaginary()
    >>> z.poly.printCoeff()
    '[2,-2,1]'
    >>> p = z*z.conj()
    >>> p.poly.printCoeff()
    '[-2,1]'