Cutting-edge quantum procedures are now more widely accessible and development is accelerated by new open-source technologies.
IBM Qiskit Functions
IBM Quantum has announced the release of Qiskit Function templates, a cutting-edge set of realistic, open-source code samples intended to greatly accelerate the creation of quantum applications and increase the accessibility of advanced research for the larger quantum community. These templates address a pressing need to convert innovative academic research into useful, broadly applicable tools by offering modular pipelines for creating high-quality, reusable quantum procedures.
In the past, a lot of creative heterogeneous processes that make use of both elastic classical and quantum computing resources have been published in research publications but have mainly gone unnoticed by the general public. This paradigm is intended to be altered by Qiskit Function templates, which will allow more researchers and developers to instantly benefit from potent techniques being created within the quantum community.
What Are Qiskit Functions Templates?
An open-source set of practical code examples known as Qiskit Function templates provides a thorough manual for creating utility-scale application workflows with Qiskit SDK and Qiskit addons. They offer a modular pipeline that makes it simple for customers to switch between tools, procedures, or setups for their own unique experiments. Their ability to be deployed to Qiskit Serverless, which streamlines operations and parallelises some activities, enabling the smooth integration of traditional computing resources, is a crucial aspect. Customers can use IBM’s hosted service for Premium and Flex Plan users, or they can deploy their serverless packages in the cloud environment of their choice.
There are two different types of templates, and each has a specialised function within the ecology of quantum development:
- Function template implementations: These are extremely specialized code samples that mimic state-of-the-art methods from actual experiments in disciplines such as physics and chemistry. They make it easier to apply cutting-edge techniques like sample-based quantum diagonalisation (SQD) to a variety of use cases by combining all workflow components into a reusable framework, complete with logs and mid-experiment checkpoints.
- Base templates: These are more generic code samples that show how Qiskit functions are typically structured. By showcasing best practices for interface creation, code formatting, and unit testing, they give developers a head start on creating their own unique Qiskit functions while cutting down on development time and effort. There are now two base templates available: one for application functions and one for circuit functions.
Bringing Cutting-Edge Research to Life: The Cleveland Clinic Collaboration
The SQD IEF-PCM Qiskit Function template, created in partnership with the Cleveland Clinic IBM Discovery Accelerator, is a perfect illustration of the benefits provided by function template implementations. Researchers from the Cleveland Clinic published a promising new workflow for electronic structure calculations earlier this year, which is essential for biochemical and medicinal applications. This template immediately transfers that methodology.
The process makes use of Sample-based Quantum Dynamics (SQD). IEF-PCM (Implicitly Polarised Continuum Model), a popular model in quantum chemistry for modelling molecular systems in solvents, is combined with diagonalisation, a potent simulation technique that effectively utilises both quantum and classical high-performance computing (HPC) systems. Researchers from the Cleveland Clinic used this workflow with IBM Quantum Heron QPUs in June to simulate systems such as methanol, methylamine, water, and ethanol. They were able to achieve active spaces of up to 23 orbitals, which is a noteworthy accomplishment that could take months or even years for other research groups to duplicate.
The Cleveland Clinic researchers collaborated with IBM to produce the SQD IEF-PCM Qiskit Functions template, which builds upon the SQD Qiskit addon, in recognition of the tremendous amount of work required to accomplish such a development. This partnership makes sure that their advanced SQD approach is not limited to scholarly publications but can be readily utilized, tailored, and applied by the general public to novel research issues, especially when it comes to taking solute-solvent interactions into account in electronic structure simulations.
Making Use of Qiskit Function Templates
Utilising these templates is intended to be a straightforward and effective approach. Users load a template into Qiskit Serverless after downloading and modifying it, such as the sqd_pcm_entrypoint.py for the SQD IEF-PCM example. To define and upload the custom function to Qiskit Serverless, a QiskitFunction object must be instantiated after authenticating with qiskit-ibm-catalog.
Users can define parameters such as the solvent, molecule, and other simulation properties by remotely executing the template after it has been uploaded. Users can examine logs and monitor the program’s status while it is running, and they can add print() instructions to create more real-time metadata. The outcomes are readily retrievable after completion, giving users a personalised, reusable SQD procedure that they can employ for more IBM Quantum hardware tests.
Accelerating the Journey to Fault-Tolerant Quantum Computing
More than merely code samples, Qiskit Function templates are an important step towards democratising access to cutting-edge quantum computing methods and advancing the science. Instead of having to reinvent core code, they allow researchers to concentrate on their particular scientific difficulties by offering procedures that are modular, reusable, and easily deployable.
This project supports IBM’s larger goal of enabling practical quantum computing worldwide and its pledge to produce a large-scale, fault-tolerant quantum computer by 2029. Powerful quantum computers and the Qiskit SDK, the industry standard software for practical quantum computing, are made available by IBM. Qiskit Function templates break down yet another barrier in the development of quantum computing by facilitating access to state-of-the-art research and creating an open-source, collaborative environment that encourages innovation and discovery across scientific fields.
IBM invite developers and researchers to experiment with these templates. They can enhance the community’s resources by building and contributing their own specialised tools to the repository, customising pre-existing templates from GitHub for their particular applications, or attending the Qiskit Function templates webinar. To learn more, examine Qiskit addons for SQD and AQC-Tensor. These modular software components can be used to scale or create new quantum algorithms.
A significant step towards making quantum computing fully practical and widely used is the release of Qiskit Function templates, which turn published research into valuable resources for the international quantum community.