1、Orlando,FLOctober 69IBM TechXchange 2025Session 2911va barbosaIBM QuantumUtilizing Qiskit Code AssistantCollaboration between watsonx,IBM Research(AI for Code),and IBM Quantum2IBM TechXchange|2025 IBM CorporationBringing Generative AI to IBM QuantumBuild tools using generative AI to improve experien
2、ce and productivity of quantum practitionersDemonstrate code assistant&LLMs that writes high-quality Qiskit codeRelease Open-Source models for use in local deploymentsIBM TechXchange|2025 IBM Corporation3Qiskit ModelIBM Granite foundation model,for examplegranite-3.3-8bBaseExtended pretraining,LoRA
3、fine-tuning,&DPO post-trainingExtendModels deployed and running through watsonx.aiDeployLeverage community for continuous improvementsImproveIBM TechXchange|2025 IBM Corporation4Evaluate performance of LLMs at writing Qiskit codeDeveloped by Qiskit advocatesContains 150+unit tests to compute pass/fa
4、il huggingface.co/datasets/Qiskit/qiskit_humanevalEvaluation Benchmark:Qiskit HumanEvalIBM TechXchange|2025 IBM Corporation5Qiskit Code AssistantProvides model generated suggestions for code completionIDE extensions include VS Code and JupyterLab6IBM TechXchange|2025 IBM Corporation1.Install the VS
5、Code or JupyterLab extension2.Generate an IBM Cloud API key and configure the extension3.When prompted read and accept the model disclaimerHAPPY CODING!Getting StartedIBM TechXchange|2025 IBM Corporation7DEMOIBM TechXchange|2025 IBM Corporation8Qiskit has rapidly evolved with advancements in quantum
6、 computing and needs of the communityUsers can spend significant time keeping up with changes or incorporating latest featuresLooking AheadIBM TechXchange|2025 IBM Corporation9Given outdated,deprecated Qiskit code produce equivalent code with latest Qiskit versionIBM TechXchange|2025 IBM Corporation