Insider Brief:
- IBM is revolutionizing quantum programming with the launch of the Qiskit Code Assistant in private preview. This tool integrates Watson’s large language models to help users generate and optimize Qiskit code efficiently within Visual Studio Code and JupyterLab environments.
- Simplifying quantum programming, the Qiskit Code Assistant offers code generation from natural language prompts and cleans up rough code. It also provides hands-on learning with performance evaluation using the Qiskit HumanEval benchmark.
- IBM is set to open-source key components of the Qiskit Code Assistant, including the Qiskit Granite model and HumanEval dataset, to foster collaboration and innovation in the quantum community.
In a recent blog post, IBM unveiled the Qiskit Code Assistant, now available in private preview as part of the IBM Quantum Premium Plan. By combining IBM’s advanced large language models with the Qiskit user community’s expertise, this tool offers quantum developers an effortless way to enhance their Qiskit code.
The Qiskit Code Assistant aims to simplify quantum coding and make it more accessible to users by providing a hands-on learning experience. It streamlines the development process, optimizes quantum programs, and helps users create quantum circuits swiftly and efficiently.
Features and Capabilities
The Qiskit Code Assistant seamlessly integrates with popular development environments like Visual Studio Code and JupyterLab. Users can leverage the tool to generate quantum code through natural language prompts or function definitions, making coding tasks easier and faster. Additionally, the assistant can clean up messy code and fill in missing sections.
During the 2023 IBM Quantum Summit, IBM introduced this groundbreaking functionality alongside other AI-enhanced quantum software features. The Summit also offered a sneak peek at the Qiskit HumanEval benchmark, designed to evaluate the generative AI models supporting the Qiskit Code Assistant.

Evaluation and Performance
IBM’s testing using the Qiskit HumanEval benchmark has shown that the Qiskit Code Assistant surpasses other models for quantum code generation. The benchmark consists of approximately 150 tests across various categories, validating the assistant’s efficiency in generating functional quantum code. Powered by the granite-8b-qiskit model, the assistant benefits from training on IBM’s Granite Code model and Qiskit-specific data.
IBM’s dedication to enhancing the assistant’s capabilities is evident as they plan to release key components of the project as open-source tools. By sharing the Qiskit Granite model and HumanEval dataset, IBM aims to catalyze collaboration within the quantum community for continuous improvement.
Looking Ahead
As quantum software advances, AI tools like the Qiskit Code Assistant will be pivotal in streamlining quantum development. IBM’s commitment to refining the assistant’s accessibility and functionality underscores their dedication to empowering quantum developers. Future plans include enhancing performance and user-friendliness to ensure a seamless coding experience for users.
Quantum enthusiasts can start utilizing the Qiskit Code Assistant through the IBM Quantum Premium Plan. Access the official documentation for installation instructions and detailed guidance.