{"id":32177480,"url":"https://github.com/dwavesystems/dwave-hybrid","last_synced_at":"2025-10-21T20:07:59.613Z","repository":{"id":33603440,"uuid":"143385894","full_name":"dwavesystems/dwave-hybrid","owner":"dwavesystems","description":"Hybrid Asynchronous Decomposition Sampler prototype framework.","archived":false,"fork":false,"pushed_at":"2025-03-26T11:30:28.000Z","size":21820,"stargazers_count":88,"open_issues_count":29,"forks_count":51,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-10-02T16:36:07.865Z","etag":null,"topics":["quantum-computing"],"latest_commit_sha":null,"homepage":"https://docs.dwavequantum.com/en/latest/ocean/api_ref_hybrid/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwavesystems.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-03T06:15:19.000Z","updated_at":"2025-08-15T07:59:44.000Z","dependencies_parsed_at":"2023-01-15T01:45:24.783Z","dependency_job_id":"252f3df4-6938-4dca-9377-d6fea9f70c0e","html_url":"https://github.com/dwavesystems/dwave-hybrid","commit_stats":{"total_commits":880,"total_committers":11,"mean_commits":80.0,"dds":0.1659090909090909,"last_synced_commit":"7b4342428e9e01b2975a81a5a9bae94b89f9240c"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/dwavesystems/dwave-hybrid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-hybrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-hybrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-hybrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-hybrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwavesystems","download_url":"https://codeload.github.com/dwavesystems/dwave-hybrid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwavesystems%2Fdwave-hybrid/sbom","scorecard":{"id":361123,"data":{"date":"2025-08-11","repo":{"name":"github.com/dwavesystems/dwave-hybrid","commit":"abfcd83d7e35d918188b4b768a65313bb6829875"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":7,"reason":"Found 6/8 approved changesets -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6p56-wp2h-9hxr","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2022-238 / GHSA-h3qr-fjhm-jphw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T10:52:53.641Z","repository_id":33603440,"created_at":"2025-08-18T10:52:53.641Z","updated_at":"2025-08-18T10:52:53.641Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280325318,"owners_count":26311422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["quantum-computing"],"created_at":"2025-10-21T20:07:56.189Z","updated_at":"2025-10-21T20:07:59.604Z","avatar_url":"https://github.com/dwavesystems.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://badge.fury.io/py/dwave-hybrid.svg\n    :target: https://badge.fury.io/py/dwave-hybrid\n    :alt: Latest version on PyPI\n\n.. image:: https://circleci.com/gh/dwavesystems/dwave-hybrid.svg?style=shield\n    :target: https://circleci.com/gh/dwavesystems/dwave-hybrid\n    :alt: Linux/MacOS/Windows build status\n\n.. image:: https://img.shields.io/codecov/c/github/dwavesystems/dwave-hybrid/master.svg\n    :target: https://codecov.io/gh/dwavesystems/dwave-hybrid\n    :alt: Code coverage\n\n.. image:: https://img.shields.io/pypi/pyversions/dwave-hybrid.svg?style=flat\n    :target: https://pypi.org/project/dwave-hybrid/\n    :alt: Supported Python versions\n\n\n============\ndwave-hybrid\n============\n\n.. start_hybrid_about\n\nA general, minimal Python framework for building hybrid asynchronous\ndecomposition samplers for quadratic unconstrained binary optimization (QUBO)\nproblems.\n\n*dwave-hybrid* facilitates three aspects of solution development:\n\n*   Hybrid approaches to combining quantum and classical compute resources\n*   Evaluating a portfolio of algorithmic components and problem-decomposition\n    strategies\n*   Experimenting with workflow structures and parameters to obtain the best\n    application results\n\nThe framework enables rapid development and insight into expected performance\nof productized versions of its experimental prototypes.\n\nYour optimized algorithmic components and other contributions to this project\nare welcome!\n\n.. end_hybrid_about\n\n\nInstallation or Building\n========================\n\nInstall from a package on PyPI::\n\n    pip install dwave-hybrid\n\nor from source in development mode::\n\n    git clone https://github.com/dwavesystems/dwave-hybrid.git\n    cd dwave-hybrid\n    pip install -e .\n\n\nTesting\n=======\n\nInstall test requirements and run ``unittest``::\n\n    pip install -r tests/requirements.txt\n    python -m unittest\n\n\nExample\n=======\n\n.. start_hybrid_example\n\n.. code-block:: python\n\n    import dimod\n    import hybrid\n\n    # Construct a problem\n    bqm = dimod.BinaryQuadraticModel({}, {'ab': 1, 'bc': -1, 'ca': 1}, 0, dimod.SPIN)\n\n    # Define the workflow\n    iteration = hybrid.RacingBranches(\n        hybrid.InterruptableTabuSampler(),\n        hybrid.EnergyImpactDecomposer(size=2)\n        | hybrid.QPUSubproblemAutoEmbeddingSampler()\n        | hybrid.SplatComposer()\n    ) | hybrid.ArgMin()\n    workflow = hybrid.LoopUntilNoImprovement(iteration, convergence=3)\n\n    # Solve the problem\n    init_state = hybrid.State.from_problem(bqm)\n    final_state = workflow.run(init_state).result()\n\n    # Print results\n    print(\"Solution: sample={.samples.first}\".format(final_state))\n\n.. end_hybrid_example\n\n\nDocumentation\n=============\n\nDocumentation for latest stable release included in Ocean is available\n`here \u003chttps://docs.dwavequantum.com/en/latest/ocean/api_ref_hybrid\u003e`_.\n\n\nLicense\n=======\n\nReleased under the Apache License 2.0. See `\u003cLICENSE\u003e`_ file.\n\n\nContributing\n============\n\nOcean's `contributing guide \u003chttps://docs.dwavequantum.com/en/latest/ocean/contribute.html\u003e`_\nhas guidelines for contributing to Ocean packages.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwavesystems%2Fdwave-hybrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwavesystems%2Fdwave-hybrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwavesystems%2Fdwave-hybrid/lists"}