{"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/arxiv-2604-07013","title":"QNAS: A Neural Architecture Search Framework for Accurate and Efficient Quantum Neural Networks","arxiv_id":"2604.07013","date":"2026-04-08","proceeding":null,"authors":["Kooshan Maleki","Alberto Marchisio","Muhammad Shafique"],"abstract":"Designing quantum neural networks (QNNs) that are both accurate and deployable on NISQ hardware is challenging. Handcrafted ansatze must balance expressivity, trainability, and resource use, while limited qubits often necessitate circuit cutting. Existing quantum architecture search methods primarily optimize accuracy while only heuristically controlling quantum and mostly ignore the exponential overhead of circuit cutting. We introduce QNAS, a neural architecture search framework that unifies hardware aware evaluation, multi objective optimization, and cutting overhead awareness for hybrid quantum classical neural networks (HQNNs). QNAS trains a shared parameter SuperCircuit and uses NSGA-II to optimize three objectives jointly: (i) validation error, (ii) a runtime cost proxy measuring wall clock evaluation time, and (iii) the estimated number of subcircuits under a target qubit budget. QNAS evaluates candidate HQNNs under a few epochs of training and discovers clear Pareto fronts that reveal tradeoffs between accuracy, efficiency, and cutting overhead. Across MNIST, Fashion-MNIST, and Iris benchmarks, we observe that embedding type and CNOT mode selection significantly impact both accuracy and efficiency, with angle-y embedding and sparse entangling patterns outperforming other configurations on image datasets, and amplitude embedding excelling on tabular data (Iris). On MNIST, the best architecture achieves 97.16% test accuracy with a compact 8 qubit, 2 layer circuit; on the more challenging Fashion-MNIST, 87.38% with a 5 qubit, 2 layer circuit; and on Iris, 100% validation accuracy with a 4 qubit, 2 layer circuit. QNAS surfaces these design insights automatically during search, guiding practitioners toward architectures that balance accuracy, resource efficiency, and practical deployability on current hardware.","url_abs":"https://arxiv.org/abs/2604.07013","url_pdf":"https://arxiv.org/pdf/2604.07013","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2604.07013","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2604.07013"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/Kooshano/QNAS","reach":null}],"summary":{"ran_honours":3,"ran_draft_wrong":3,"ran_fixture":1,"ran":2,"unverified":5},"by_repo_kind":{"found_in_text":{"samples":14,"ran":9,"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":"4d7f99ecf435626f","entry":"_env_get_float","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4d7f99ecf435626f"}},{"code_sha256_prefix":"8ed105a683397d95","entry":"_env_get_int","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ed105a683397d95"}},{"code_sha256_prefix":"8b2e84170d54110a","entry":"_env_get_list","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8b2e84170d54110a"}},{"code_sha256_prefix":"1e81173eee59e2fe","entry":"_filter_pairs_by_mode","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1e81173eee59e2fe"}},{"code_sha256_prefix":"2b070093dd3c9ba4","entry":"_modes_str","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2b070093dd3c9ba4"}},{"code_sha256_prefix":"5239d69c259cc912","entry":"_qlayer_to_wirecut_string","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5239d69c259cc912"}},{"code_sha256_prefix":"e3b66c62342c7405","entry":"_suppress_stderr","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e3b66c62342c7405"}},{"code_sha256_prefix":"51df0556dc0786f6","entry":"entangling_pairs","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"51df0556dc0786f6"}},{"code_sha256_prefix":"02d845633c31bd08","entry":"f3_num_subcircuits","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"02d845633c31bd08"}},{"code_sha256_prefix":"b598a79fa61e158b","entry":"QConfig","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b598a79fa61e158b"}},{"code_sha256_prefix":"4c71d22adf7448f4","entry":"QNNHyperProblem","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4c71d22adf7448f4"}},{"code_sha256_prefix":"cd49f32dc2bf68df","entry":"_get_gpu_id","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cd49f32dc2bf68df"}},{"code_sha256_prefix":"81e16c4255db1028","entry":"_get_worker_rank","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"81e16c4255db1028"}},{"code_sha256_prefix":"a9da2502a8a56511","entry":"_next_eval_id","repo":"Kooshano/QNAS","repo_kind":"found_in_text","path":"qnas/nsga2/problem.py","file_url":"https://github.com/Kooshano/QNAS/blob/HEAD/qnas/nsga2/problem.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9da2502a8a56511"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}