Skip to main content

Parallel-tempering solver compatible with omnisolver.

Project description

Logo Parallel Tempering Plugin for Omnisolver

Installation

To install the plugin run:

pip install omnisolver-pt

Command line usage

usage: omnisolver pt [-h] [--output OUTPUT] [--vartype {SPIN,BINARY}] [--num_replicas NUM_REPLICAS] [--num_pt_steps NUM_PT_STEPS]
                     [--num_sweeps NUM_SWEEPS] [--beta_min BETA_MIN] [--beta_max BETA_MAX]
                     input

Parallel tempering sampler

positional arguments:
  input                 Path of the input BQM file in COO format. If not specified, stdin is used.

optional arguments:
  -h, --help            show this help message and exit
  --output OUTPUT       Path of the output file. If not specified, stdout is used.
  --vartype {SPIN,BINARY}
                        Variable type
  --num_replicas NUM_REPLICAS
                        number of replicas to simulate (default 10)
  --num_pt_steps NUM_PT_STEPS
                        number of parallel tempering steps
  --num_sweeps NUM_SWEEPS
                        number of Monte Carlo sweeps per parallel tempering step
  --beta_min BETA_MIN   inverse temperature of the hottest replica
  --beta_max BETA_MAX   inverse temperature of the coldest replica

Citing

If you used the Omnisolver package or one of its plugins, please cite:

@misc{https://doi.org/10.48550/arxiv.2112.11131,
  doi = {10.48550/ARXIV.2112.11131},
  
  url = {https://arxiv.org/abs/2112.11131},
  
  author = {Jałowiecki, Konrad and Pawela, Łukasz},
  
  keywords = {Software Engineering (cs.SE), Quantum Physics (quant-ph), FOS: Computer and information sciences, FOS: Computer and information sciences, FOS: Physical sciences, FOS: Physical sciences},
  
  title = {Omnisolver: an extensible interface to Ising spin glass solvers},
  
  publisher = {arXiv},
  
  year = {2021},
  
  copyright = {arXiv.org perpetual, non-exclusive license}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omnisolver-pt-0.0.2.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

omnisolver_pt-0.0.2-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file omnisolver-pt-0.0.2.tar.gz.

File metadata

  • Download URL: omnisolver-pt-0.0.2.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for omnisolver-pt-0.0.2.tar.gz
Algorithm Hash digest
SHA256 625f6d7d40390650d8a45e0026a8d8132e0a4734414d0baa94ec0420af2ade5d
MD5 a12b1dcec82489ca96ec2c776bc49436
BLAKE2b-256 1b0a109c3fa4e84568401d393e11f516958e6b0160643df62ed055c7b1b2cf56

See more details on using hashes here.

File details

Details for the file omnisolver_pt-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for omnisolver_pt-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3756c45d30a57a821a3c843709d1385e085afd6fdc0fedfde95e2b4db11badc6
MD5 245558bc46d33afcfeb85e6836cd07ad
BLAKE2b-256 3fcbdf9721918127684a3d885d9be6a5854348486b3b07379215101211fbf95e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page