{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/qhdopt-a-software-for-nonlinear-optimization","title":"QHDOPT: A Software for Nonlinear Optimization with Quantum Hamiltonian Descent","arxiv_id":"2409.03121","date":"2024-09-04","proceeding":null,"authors":["Samuel Kushnir","Jiaqi Leng","Yuxiang Peng","Lei Fan","Xiaodi Wu"],"abstract":"We develop an open-source, end-to-end software (named QHDOPT), which can solve nonlinear optimization problems using the quantum Hamiltonian descent (QHD) algorithm. QHDOPT offers an accessible interface and automatically maps tasks to various supported quantum backends (i.e., quantum hardware machines). These features enable users, even those without prior knowledge or experience in quantum computing, to utilize the power of existing quantum devices for nonlinear and nonconvex optimization tasks. In its intermediate compilation layer, QHDOPT employs SimuQ, an efficient interface for Hamiltonian-oriented programming, to facilitate multiple algorithmic specifications and ensure compatible cross-hardware deployment. The detailed documentation of QHDOPT is available at https://github.com/jiaqileng/QHDOPT.","url_abs":"https://arxiv.org/abs/2409.03121v1","url_pdf":"https://arxiv.org/pdf/2409.03121v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"qhdopt-a-software-for-nonlinear-optimization","repo_url":"https://github.com/jiaqileng/qhdopt","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.03121","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.03121"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jiaqileng/qhdopt","reach":{"status":"ok","spdx":"BSD-3-Clause"}}],"summary":{"ran":6},"by_repo_kind":{"official":{"samples":6,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"4bb023bd81d74c0f","entry":"binstr_to_bitstr","repo":"jiaqileng/qhdopt","repo_kind":"official","path":"qhdopt/utils/decoding_utils.py","file_url":"https://github.com/jiaqileng/qhdopt/blob/HEAD/qhdopt/utils/decoding_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"4bb023bd81d74c0f"}},{"code_sha256_prefix":"af0e322d8729a70e","entry":"decompose_function","repo":"jiaqileng/qhdopt","repo_kind":"official","path":"qhdopt/utils/function_preprocessing_utils.py","file_url":"https://github.com/jiaqileng/qhdopt/blob/HEAD/qhdopt/utils/function_preprocessing_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"af0e322d8729a70e"}},{"code_sha256_prefix":"656baa384bf0e99d","entry":"gen_affine_transformation","repo":"jiaqileng/qhdopt","repo_kind":"official","path":"qhdopt/utils/function_preprocessing_utils.py","file_url":"https://github.com/jiaqileng/qhdopt/blob/HEAD/qhdopt/utils/function_preprocessing_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"656baa384bf0e99d"}},{"code_sha256_prefix":"23b0098cb61f3791","entry":"gen_new_func_with_affine_trans","repo":"jiaqileng/qhdopt","repo_kind":"official","path":"qhdopt/utils/function_preprocessing_utils.py","file_url":"https://github.com/jiaqileng/qhdopt/blob/HEAD/qhdopt/utils/function_preprocessing_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"23b0098cb61f3791"}},{"code_sha256_prefix":"d1ccd8c661550631","entry":"hamming_bitstring_to_vec","repo":"jiaqileng/qhdopt","repo_kind":"official","path":"qhdopt/utils/decoding_utils.py","file_url":"https://github.com/jiaqileng/qhdopt/blob/HEAD/qhdopt/utils/decoding_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"d1ccd8c661550631"}},{"code_sha256_prefix":"f126b1877ad776a6","entry":"spin_to_bitstring","repo":"jiaqileng/qhdopt","repo_kind":"official","path":"qhdopt/utils/decoding_utils.py","file_url":"https://github.com/jiaqileng/qhdopt/blob/HEAD/qhdopt/utils/decoding_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-3-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"f126b1877ad776a6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}