pauli-coloring-benchmark

Or "colouring" if you prefer 🎨

https://github.com/altaris/pauli-coloring-benchmark

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • ✓
    CITATION.cff file
    Found CITATION.cff file
  • ✓
    codemeta.json file
    Found codemeta.json file
  • ✓
    .zenodo.json file
    Found .zenodo.json file
  • â—‹
    DOI references
  • â—‹
    Academic publication links
  • â—‹
    Committers with academic emails
  • â—‹
    Institutional organization owner
  • â—‹
    JOSS paper metadata
  • â—‹
    Scientific vocabulary similarity
    Low similarity (7.7%) to scientific vocabulary

Keywords

benchmark hamiltonian qiskit quantum-computing trotter-suzuki
Last synced: 6 months ago · JSON representation ·

Repository

Or "colouring" if you prefer 🎨

Basic Info
  • Host: GitHub
  • Owner: altaris
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 5.32 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
benchmark hamiltonian qiskit quantum-computing trotter-suzuki
Created about 1 year ago · Last pushed 12 months ago
Metadata Files
Readme Changelog Contributing License Citation

README.md

Pauli Coloring Benchmark

Python 3.13 License Code style Documentation

How to do the thing?

Prep. work

  1. Install uv.

sh curl -LsSf https://astral.sh/uv/install.sh | sh

  1. Install dependencies:

sh uv sync

  1. Build binaries (requires gcc). This is only required if you want to use the degree_c reordering method.

sh make dll

  1. Build the index. This is a SQlite3 file that lists all the Hamiltonian from all the hdf5 files present in the HamLib website.

sh uv run python -m pcb build-index out/index.db

  1. Download the Hamiltonian ZIP files.

sh uv run python -m pcb download out/index.db out/ham # it is also possible to apply a filter to only download files in a given subdirectory uv run python -m pcb download out/index.db out/ham --prefix binaryoptimization/maxcut

Reordering benchmark

  1. Run the benchmark.

sh uv run python -m pcb benchmark-reorder out/index.db out/ham out/reordering # or uv run python -m pcb benchmark-reorder out/index.db out/ham out/reordering --prefix binaryoptimization/maxcut --n-trials 1 --n-jobs 200 --methods none,saturation,misra_gries --min-qubits 32 --max-qubits 127 --min-terms 16 --max-terms 256

  1. You can obtain temporary consolidated results during the benchmark by running:

sh uv run python -m pcb consolidate out/reordering

This is automatically done at the end of the benchmark.

More help

sh uv run python -m pcb --help

Owner

  • Name: Cédric
  • Login: altaris
  • Kind: user
  • Location: Japan
  • Company: RIKEN

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: Pauli Coloring Benchmark
message: "If you use this software, please cite it as below."
type: software
authors:
  - family-names: Ho Thanh
    given-names: Cédric
    orcid: "https://orcid.org/0000-0003-4476-2034"
identifiers:
  - type: doi
    value: 10.5281/zenodo.14934437
repository-code: "https://github.com/altaris/pauli-coloring-benchmark"
url: "https://github.com/altaris/pauli-coloring-benchmark"
license: MIT
version: 1.0.0
date-released: "2025-03-12"

GitHub Events

Total
  • Push event: 44
  • Public event: 1
  • Create event: 2
Last Year
  • Push event: 44
  • Public event: 1
  • Create event: 2

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 117
  • Total Committers: 1
  • Avg Commits per committer: 117.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 117
  • Committers: 1
  • Avg Commits per committer: 117.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Cédric HT a****s 117

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/gh-pages.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • peaceiris/actions-gh-pages v3 composite
.etc/setup.py pypi
pyproject.toml pypi
  • beautifulsoup4 >=4.12.3
  • click >=8.1.7
  • h5py >=3.12.1
  • joblib >=1.4.2
  • loguru >=0.7.2
  • networkx >=3.4.2
  • pandas >=2.2.3
  • qiskit >=1.3.1
  • requests >=2.32.3
  • tqdm >=4.67.1
uv.lock pypi
  • appnope 0.1.4
  • asttokens 3.0.0
  • beautifulsoup4 4.12.3
  • black 24.10.0
  • certifi 2024.12.14
  • cffi 1.17.1
  • charset-normalizer 3.4.1
  • click 8.1.8
  • colorama 0.4.6
  • comm 0.2.2
  • contourpy 1.3.1
  • cycler 0.12.1
  • debugpy 1.8.11
  • decorator 5.1.1
  • dill 0.3.9
  • executing 2.1.0
  • fonttools 4.55.3
  • h5py 3.12.1
  • idna 3.10
  • ipykernel 6.29.5
  • ipython 8.31.0
  • ipywidgets 8.1.5
  • jedi 0.19.2
  • jinja2 3.1.5
  • joblib 1.4.2
  • jupyter-black 0.4.0
  • jupyter-client 8.6.3
  • jupyter-core 5.7.2
  • jupyterlab-widgets 3.0.13
  • kiwisolver 1.4.8
  • loguru 0.7.3
  • markupsafe 3.0.2
  • matplotlib 3.10.0
  • matplotlib-inline 0.1.7
  • mpmath 1.3.0
  • mypy-extensions 1.0.0
  • nest-asyncio 1.6.0
  • networkx 3.4.2
  • numpy 2.2.1
  • packaging 24.2
  • pandas 2.2.3
  • parso 0.8.4
  • pathspec 0.12.1
  • pbr 6.1.0
  • pcb 0.0.0
  • pdoc 15.0.1
  • pexpect 4.9.0
  • pillow 11.1.0
  • platformdirs 4.3.6
  • prompt-toolkit 3.0.48
  • psutil 6.1.1
  • ptyprocess 0.7.0
  • pure-eval 0.2.3
  • pycparser 2.22
  • pygments 2.19.1
  • pylatexenc 2.10
  • pyparsing 3.2.1
  • python-dateutil 2.9.0.post0
  • pytz 2024.2
  • pywin32 308
  • pyzmq 26.2.0
  • qiskit 1.3.1
  • requests 2.32.3
  • rustworkx 0.15.1
  • scipy 1.15.0
  • seaborn 0.13.2
  • six 1.17.0
  • soupsieve 2.6
  • stack-data 0.6.3
  • stevedore 5.4.0
  • symengine 0.13.0
  • sympy 1.13.3
  • tokenize-rt 6.1.0
  • tornado 6.4.2
  • tqdm 4.67.1
  • traitlets 5.14.3
  • types-requests 2.32.0.20241016
  • typing-extensions 4.12.2
  • tzdata 2024.2
  • urllib3 2.3.0
  • wcwidth 0.2.13
  • widgetsnbextension 4.0.13
  • win32-setctime 1.2.0