{"id":"https://openalex.org/W7212301331","doi":"https://doi.org/10.13140/rg.2.2.24289.67684","title":"BadQubits: An LLM-Based Framework for Static Pre-Execution Detection of Structurally Harmful Quantum Circuits","display_name":"BadQubits: An LLM-Based Framework for Static Pre-Execution Detection of Structurally Harmful Quantum Circuits","publication_year":2026,"publication_date":"2026-07-16","ids":{"openalex":"https://openalex.org/W7212301331","doi":"https://doi.org/10.13140/rg.2.2.24289.67684"},"language":"en","primary_location":{"id":"pmh:oai:arXiv.org:2609.18965","doi":null,"is_oa":true,"landing_page_url":"https://arxiv.org/abs/2609.18965","pdf_url":"https://arxiv.org/pdf/2609.18965","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},"volume":null,"type":"preprint","is_traditional":true,"indexed_in":["arxiv","datacite"],"open_access":{"is_oa":true,"oa_status":"green","oa_url":"https://arxiv.org/pdf/2609.18965","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5111227576","display_name":"Justin Woodring","orcid":"https://orcid.org/0000-0002-0765-5654","observed_orcids":["https://orcid.org/0000-0002-0765-5654"]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Justin Woodring","raw_affiliation_strings":[],"raw_orcid":null,"affiliations":[]},{"author_position":"middle","author":{"id":"https://openalex.org/A5118273737","display_name":"Lamine Noureddine","orcid":"https://orcid.org/0009-0003-1976-1408","observed_orcids":["https://orcid.org/0009-0003-1976-1408"]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Lamine Noureddine","raw_affiliation_strings":[],"raw_orcid":null,"affiliations":[]},{"author_position":"last","author":{"id":"https://openalex.org/A5032852782","display_name":"Aisha Ali-Gombe","orcid":"https://orcid.org/0000-0002-2563-0557","observed_orcids":["https://orcid.org/0000-0002-2563-0557"]},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Aisha Ali-Gombe","raw_affiliation_strings":[],"raw_orcid":null,"affiliations":[]}],"institutions":[],"countries_distinct_count":0,"institutions_distinct_count":0,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":null,"has_fulltext":true,"cited_by_count":0,"citation_normalized_percentile":null,"cited_by_percentile_year":null,"biblio":{"volume":null,"issue":null,"first_page":null,"last_page":null},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10682","display_name":"Quantum Computing Algorithms and Architecture","score":0.5952000021934509,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10682","display_name":"Quantum Computing Algorithms and Architecture","score":0.5952000021934509,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11689","display_name":"Adversarial Robustness in Machine Learning","score":0.17159999907016754,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11424","display_name":"Security and Verification in Computing","score":0.09470000118017197,"subfield":{"id":"https://openalex.org/subfields/1708","display_name":"Hardware and Architecture"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/openqasm","display_name":"OpenQASM","score":0.8159999847412109},{"id":"https://openalex.org/keywords/low-rank-adaptation","display_name":"low-rank adaptation","score":0.7490000128746033},{"id":"https://openalex.org/keywords/adversarial-perturbations","display_name":"adversarial perturbations","score":0.6620000004768372},{"id":"https://openalex.org/keywords/measurement-timing","display_name":"measurement timing","score":0.9760000109672546}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.5102999806404114},{"id":"https://openalex.org/C134146338","wikidata":"https://www.wikidata.org/wiki/Q1815901","display_name":"Electronic circuit","level":2,"score":0.43050000071525574},{"id":"https://openalex.org/C84114770","wikidata":"https://www.wikidata.org/wiki/Q46344","display_name":"Quantum","level":2,"score":0.38100001215934753},{"id":"https://openalex.org/C121332964","wikidata":"https://www.wikidata.org/wiki/Q413","display_name":"Physics","level":0,"score":0.3711000084877014},{"id":"https://openalex.org/C24326235","wikidata":"https://www.wikidata.org/wiki/Q126095","display_name":"Electronic engineering","level":1,"score":0.35659998655319214},{"id":"https://openalex.org/C11413529","wikidata":"https://www.wikidata.org/wiki/Q8366","display_name":"Algorithm","level":1,"score":0.3142000138759613},{"id":"https://openalex.org/C99498987","wikidata":"https://www.wikidata.org/wiki/Q2210247","display_name":"Noise (video)","level":3,"score":0.30090001225471497},{"id":"https://openalex.org/C2776401178","wikidata":"https://www.wikidata.org/wiki/Q12050496","display_name":"Feature (linguistics)","level":2,"score":0.27239999175071716},{"id":"https://openalex.org/C184720557","wikidata":"https://www.wikidata.org/wiki/Q7825049","display_name":"Topology (electrical circuits)","level":2,"score":0.25839999318122864},{"id":"https://openalex.org/C127413603","wikidata":"https://www.wikidata.org/wiki/Q11023","display_name":"Engineering","level":0,"score":0.2502000033855438}],"mesh":[],"locations_count":3,"locations":[{"id":"pmh:oai:arXiv.org:2609.18965","doi":null,"is_oa":true,"landing_page_url":"https://arxiv.org/abs/2609.18965","pdf_url":"https://arxiv.org/pdf/2609.18965","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},{"id":"doi:10.48550/arxiv.2609.18965","doi":"https://doi.org/10.48550/arxiv.2609.18965","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.2609.18965","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"Preprint"},{"id":"doi:10.13140/rg.2.2.24289.67684","doi":"https://doi.org/10.13140/rg.2.2.24289.67684","is_oa":false,"landing_page_url":"https://doi.org/10.13140/rg.2.2.24289.67684","pdf_url":null,"source":null,"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"article-journal"}],"best_oa_location":{"id":"pmh:oai:arXiv.org:2609.18965","doi":null,"is_oa":true,"landing_page_url":"https://arxiv.org/abs/2609.18965","pdf_url":"https://arxiv.org/pdf/2609.18965","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":"2331-8422","issn":["2331-8422"],"is_oa":true,"is_in_doaj":false,"is_core":false,"listed_in":[],"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":null,"raw_type":"text"},"sustainable_development_goals":[],"study_designs":[],"awards":[],"funders":[],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W7212301331.pdf","grobid_xml":"https://content.openalex.org/works/W7212301331.grobid-xml"},"referenced_works_count":46,"referenced_works":["https://openalex.org/W1963849366","https://openalex.org/W2031254140","https://openalex.org/W2036444025","https://openalex.org/W2131799137","https://openalex.org/W2807319534","https://openalex.org/W2887954984","https://openalex.org/W2911731407","https://openalex.org/W2912204259","https://openalex.org/W2942951085","https://openalex.org/W2949253647","https://openalex.org/W2995148046","https://openalex.org/W3004302111","https://openalex.org/W3008088841","https://openalex.org/W3019514289","https://openalex.org/W3023478445","https://openalex.org/W3086007799","https://openalex.org/W3119664108","https://openalex.org/W3155537204","https://openalex.org/W3167894733","https://openalex.org/W3192825951","https://openalex.org/W3211721489","https://openalex.org/W4206159820","https://openalex.org/W4226485558","https://openalex.org/W4285345508","https://openalex.org/W4293093937","https://openalex.org/W4296884727","https://openalex.org/W4307283983","https://openalex.org/W4312253630","https://openalex.org/W4384934446","https://openalex.org/W4388857017","https://openalex.org/W4393405878","https://openalex.org/W4396581653","https://openalex.org/W4396949477","https://openalex.org/W4396986598","https://openalex.org/W4398795056","https://openalex.org/W4400121150","https://openalex.org/W4400151969","https://openalex.org/W4403628430","https://openalex.org/W4404057380","https://openalex.org/W4407639771","https://openalex.org/W4408565907","https://openalex.org/W4409361689","https://openalex.org/W4409916767","https://openalex.org/W4411337043","https://openalex.org/W4411996801","https://openalex.org/W6959247185"],"related_works":["https://openalex.org/W7163048516","https://openalex.org/W7162683456","https://openalex.org/W4400582509","https://openalex.org/W7221537065","https://openalex.org/W7165147185","https://openalex.org/W7167817993","https://openalex.org/W7148400381","https://openalex.org/W4414430448","https://openalex.org/W7128635861","https://openalex.org/W7097437536"],"abstract_inverted_index":{"This":[0],"paper":[1],"presents":[2],"BadQubits,":[3],"an":[4],"LLM-based":[5],"framework":[6,18],"for":[7],"static":[8],"pre-execution":[9],"detection":[10],"of":[11,41,54,58,92],"structurally":[12],"harmful":[13],"OpenQASM":[14],"2.0":[15],"circuits.":[16],"The":[17,143],"targets":[19],"physical-execution-layer":[20],"threats":[21],"by":[22,34,177],"analyzing":[23],"submitted":[24],"circuits":[25,56,68],"prior":[26],"to":[27,99,150,160,166],"runtime,":[28],"where":[29],"dynamic":[30],"inspection":[31],"is":[32,110],"constrained":[33,102],"measurement":[35,195],"irreversibility":[36],"and":[37,64,87,139,194],"the":[38,93,124,153,167],"exponential":[39],"cost":[40],"classical":[42],"quantum-state":[43],"simulation.":[44],"We":[45,162],"evaluate":[46],"four":[47,94],"code-understanding":[48],"LLM":[49,155,173],"architectures":[50],"on":[51],"a":[52,111,117,132],"dataset":[53],"1,500":[55],"consisting":[57],"1,000":[59],"benign":[60],"programs":[61],"from":[62,70,148,158],"MQTBench[33]":[63],"500":[65],"synthetic":[66],"attack":[67],"derived":[69],"three":[71],"documented":[72],"physical-layer":[73],"threat":[74],"primitives.":[75],"Our":[76],"fine-tuned":[77,154],"Qwen":[78],"Coder":[79],"2.5":[80],"7B":[81],"model":[82,108,186],"achieves":[83],"92.67%":[84],"classification":[85],"accuracy":[86],"96.1%":[88,159],"harmful-circuit":[89,145],"recall.":[90],"Two":[91],"evaluated":[95],"base":[96],"models":[97],"fail":[98],"generalize":[100],"under":[101,135],"LoRA":[103],"fine-tuning,":[104],"indicating":[105],"that":[106,185],"architecture-aware":[107],"selection":[109],"necessary":[112],"design":[113],"consideration":[114],"rather":[115,197],"than":[116,198],"minor":[118],"tuning":[119],"choice.":[120],"To":[121],"characterize":[122],"what":[123],"detector":[125],"has":[126],"learned,":[127],"we":[128],"compare":[129],"it":[130],"against":[131],"bag-of-gates":[133],"CNN":[134],"progressive":[136],"confound":[137],"removal":[138],"adversarial":[140],"syntactic":[141],"perturbation.":[142],"CNN's":[144],"recall":[146],"drops":[147],"100%":[149],"17%,":[151],"while":[152],"decreases":[156],"only":[157],"91.2%.":[161],"attribute":[163],"this":[164],"gap":[165],"sequential":[168],"structure":[169],"retained":[170],"in":[171],"token-level":[172],"inputs":[174],"but":[175],"discarded":[176],"histogram-based":[178],"baselines.":[179],"A":[180],"correlation":[181],"analysis":[182],"further":[183],"shows":[184],"decisions":[187],"track":[188],"threat-defining":[189],"features,":[190],"specifically":[191],"SWAP":[192],"density":[193],"timing,":[196],"generator-specific":[199],"artifacts":[200],"such":[201],"as":[202],"register":[203],"naming.":[204]},"counts_by_year":[],"updated_date":"2026-11-07T11:25:07.637180","created_date":"2026-09-12T00:00:00"}
