scikit-quant is an aggregator package to improve interoperability between quantum computing software packages. Our first focus in on classical optimizers, making the state-of-the art from the Applied Math community available in Python for use in quantum computing.
Full documentation: https://scikit-quant.readthedocs.io/
Website: http://scikit-quant.org
Installation
pip install sckit-quant
Usage
Basic example:
# create a numpy array of bounds, one (low, high) for each parameter
bounds = np.array([[-1, 1], [-1, 1]], dtype=float)
# budget (number of calls, assuming 1 count per call)
budget = 40
# initial values for all parameters
x0 = np.array([0.5, 0.5])
# method can be ImFil, SnobFit, Orbit, or Bobyqa
result, history = \
minimize(objective_function, x0, bounds, budget, method='imfil')
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scikit-quant-0.6.0.tar.gz
(17.4 kB
view details)
File details
Details for the file scikit-quant-0.6.0.tar.gz.
File metadata
- Download URL: scikit-quant-0.6.0.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cd5a670dfe2b49f7fc9a47e4ca32198b2f3eb2b3b7f3db1c6e7e34705ff45e2
|
|
| MD5 |
48822ed7d38f610425cc42697b664ecc
|
|
| BLAKE2b-256 |
93a2ded65d36f624123d21d577e6ef7d9b684a065e8cc4d3c1e48d5c1cae61ea
|