IBM Delivers Qiskit 1.0 and Best Practices for Transitioning to It

By John Russell

April 29, 2024

After spending much of its December Quantum Summit discussing forthcoming quantum software development kit Qiskit 1.0 — the first full version — IBM quietly debuted the latest version (February 15) and recently provided advice for those looking to make the jump. IBM is likely to share more details on Qiskit 1.0 capabilities and early uses at IBM Think 2024 meeting being held in Boston on May 20-23. Two areas to watch for are elaboration on newer AI capabilities to make using Qiskit easier to use as well as examples of how early users are making use of them.

“In the past, each new Qiskit release introduced breaking changes that had the potential to interfere with a user’s code. Those releases occurred fairly often, about once every three months. Qiskit’s new release cycle addresses this problem by making a useful distinction between different types of releases. Qiskit will now publish major releases roughly once per year, minor releases on the traditional schedule of once every three months, and smaller patch releases that implement bug fixes between minor releases as needed,” according to an IBM research blog, (Best practices for transitioning to Qiskit SDK v1.0).

“This new release cycle will help make Qiskit more stable than ever before. The once-per-year major releases will now be the only Qiskit releases that contain breaking changes. In other words, today’s Qiskit v1.0 users won’t have to worry about breaking changes until it’s time to upgrade to Qiskit v2.0. Before that point, only minor and patch releases will be published, and any changes or features that are introduced will be fully backwards compatible.”

Getting to the 1.0 release is a milestone for Qiskit as it is for software tools generally. Moving forward, says IBM, “Qiskit will now follow a release cycle based on the widely-used Semantic Versioning scheme, where software releases are numbered using the “X.Y.Z” or “major.minor.patch” format (e.g., Qiskit’s first major version, Qiskit v1.0.0). If you haven’t yet made the move to Qiskit v1.0, this blog post will tell you everything you need to know to take full advantage of this new system and ensure your transition is a smooth one.”

This recent blog (Best practices for transitioning to Qiskit SDK v1.0) suggests many existing Qiskit users may be better off pursuing a somewhat cautious path, adopting v0.46 first, before tackling v1.0. Here’s an blog excerpt:

“So, the bottom line is, if you’re a developer depending on Qiskit v0.45 who is planning to transition to Qiskit v1.0 — and especially if you have packages that depend on Qiskit v0.45 — we strongly encourage you to try upgrading to v0.46 first. Pay close attention to the warnings you see in Qiskit v0.46 and take your time cleaning them up. As previously mentioned, you’ll have until August 2024 to migrate your code before Qiskit 0.46 is no longer supported.

“Note: If your Qiskit version is currently capped at v0.44 or any release published prior to that, you should consider first updating to Qiskit v0.45, and then to Qiskit v0.46.

Additionally, if you’re still dependent on qiskit-terra, consider that the qiskit metapackage only contained qiskit-terra since v0.45. Since then, depending on qiskit directly is the preferred approach, and doing so will ease your journey to v1.0.

“Once you’ve cleaned up all your deprecation warnings and feel you are ready to upgrade to Qiskit v1.0, be sure to first test your code with Qiskit SDK v1.0. Next, update your requirements.txt to support Qiskit v1.0, and from there you should be all set. Remember, you will not be able to upgrade an existing Qiskit v0.x installation to Qiskit v1.0 in-place. You’ll have to create a new conda/pip/poetry environment and install qiskit>=1.0 to use the v1.0 release.

“Now, if your code is used by many packages or by a relatively large user-base, you may want to consider offering dual support — i.e., writing your code to support both v0.46 and v1.0. For example if your current package is your_package 3.2, you can release your_package 4.0 with Qiskit v1.0 support and your_package 3.3 with Qiskit v0.46 support. Or, alternatively, you can release your_package 4.0 which can be run with Qiskit v0.46 AND Qiskit v1.0.”

IBM also posted a blog summarizing some of the key changes in Qiskit 1.0. Among the enhancements are new Sampler and Estimator primitives, called SamplerV2 and EstimatorV2, that are designed to accept vectorized inputs; new Qiskit Runtime; support for OpenCASM3 (experimental native OpenQASM 3 parser); and improved memory and performance. improvements.

IBM says many features in Qiskit 1.0 are “much faster now than they were in the past, due in large part to ongoing internal refactoring and the introduction of Rust code under the hood. For example, the transpiler in Qiskit 1.0 can bind and transpile circuits 16x faster than Qiskit 0.33, while also returning shorter circuit depths as an added bonus. The plot below depicts the amount of time required to bind the parameters of an EfficientSU2 circuit as the number of parameters increases using the 1.0 release, and compares that against the (0.45) release.” (See slide below)

“Similarly, when it comes to memory, we’ve done a lot of internal refactoring to reduce the footprint of circuits, with Qiskit 1.0 demonstrating an average 55% decrease in memory usage compared to Qiskit 0.39. The chart below shows data collected on the maximum memory used in building a 127-qubit Two Local circuit at increasing circuit depth, comparing the last three Qiskit versions against version 1.0,” reports IBM

As noted IBM is likely to share more details on Qiskit 1.0 at IBM Think 2024. IBM is also likely to review progress on its two most recently announced QPUs, Condor (1121 qubits) and Hderon (133 qubits); the latter has been designed to be ganged together with other QPUs to scale up system size. See IBM roadmap below.

Stay tuned.

Link to blog (Best practices for transitioning to Qiskit SDK v1.0), https://www.ibm.com/quantum/blog/transition-to-1

Link to blog (Qiskit 1.0 release summary), https://www.ibm.com/quantum/blog/qiskit-1-0-release-summary

Link to early HPCwire article (IBM Quantum Summit: Two New QPUs, Upgraded Qiskit, 10-year Roadmap and More), https://www.hpcwire.com/2023/12/04/ibm-quantum-summit-two-new-qpus-upgraded-qiskit-10-year-roadmap-and-more/

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industry updates delivered to you every week!

The Future of AI in Science

May 15, 2024

AI is one of the most transformative and valuable scientific tools ever developed. By harnessing vast amounts of data and computational power, AI systems can uncover patterns, generate insights, and make predictions that Read more…

Some Reasons Why Aurora Didn’t Take First Place in the Top500 List

May 15, 2024

The makers of the Aurora supercomputer, which is housed at the Argonne National Laboratory, gave some reasons why the system didn't make the top spot on the Top500 list of the fastest supercomputers in the world. At s Read more…

ISC 2024 Keynote: High-precision Computing Will Be a Foundation for AI Models

May 15, 2024

Some scientific computing applications cannot sacrifice accuracy and will always require high-precision computing. Therefore, conventional high-performance computing (HPC) will remain essential, even as many applicati Read more…

EuroHPC Expands: United Kingdom Joins as 35th Member

May 14, 2024

The United Kingdom has officially joined the EuroHPC Joint Undertaking, becoming the 35th member state. This was confirmed after the 38th Governing Board meeting, and it's set to enhance Europe's supercomputing capabilit Read more…

Linux Foundation Announces the Launch of the High-Performance Software Foundation

May 14, 2024

The Linux Foundation, the nonprofit organization enabling mass innovation through open source, is excited to announce the launch of the High-Performance Software Foundation (HPSF). The announcement was made at the ISC Read more…

Nvidia Showcases Work with Quantum Centers at ISC 2024

May 13, 2024

With quantum computing surging in Europe, Nvidia took advantage of ISC 2024 to showcase its efforts working with quantum development centers. Currently, Nvidia GPUs are dominant inside classical systems used for quantum Read more…

The Future of AI in Science

May 15, 2024

AI is one of the most transformative and valuable scientific tools ever developed. By harnessing vast amounts of data and computational power, AI systems can un Read more…

Some Reasons Why Aurora Didn’t Take First Place in the Top500 List

May 15, 2024

The makers of the Aurora supercomputer, which is housed at the Argonne National Laboratory, gave some reasons why the system didn't make the top spot on the Top Read more…

ISC 2024 Keynote: High-precision Computing Will Be a Foundation for AI Models

May 15, 2024

Some scientific computing applications cannot sacrifice accuracy and will always require high-precision computing. Therefore, conventional high-performance c Read more…

Shutterstock 493860193

Linux Foundation Announces the Launch of the High-Performance Software Foundation

May 14, 2024

The Linux Foundation, the nonprofit organization enabling mass innovation through open source, is excited to announce the launch of the High-Performance Softw Read more…

ISC 2024: Hyperion Research Predicts HPC Market Rebound after Flat 2023

May 13, 2024

First, the top line: the overall HPC market was flat in 2023 at roughly $37 billion, bogged down by supply chain issues and slowed acceptance of some larger sys Read more…

Top 500: Aurora Breaks into Exascale, but Can’t Get to the Frontier of HPC

May 13, 2024

The 63rd installment of the TOP500 list is available today in coordination with the kickoff of ISC 2024 in Hamburg, Germany. Once again, the Frontier system at Read more…

ISC Preview: Focus Will Be on Top500 and HPC Diversity 

May 9, 2024

Last year's Supercomputing 2023 in November had record attendance, but the direction of high-performance computing was a hot topic on the floor. Expect more of Read more…

Illinois Considers $20 Billion Quantum Manhattan Project Says Report

May 7, 2024

There are multiple reports that Illinois governor Jay Robert Pritzker is considering a $20 billion Quantum Manhattan-like project for the Chicago area. Accordin Read more…

Nvidia H100: Are 550,000 GPUs Enough for This Year?

August 17, 2023

The GPU Squeeze continues to place a premium on Nvidia H100 GPUs. In a recent Financial Times article, Nvidia reports that it expects to ship 550,000 of its lat Read more…

Synopsys Eats Ansys: Does HPC Get Indigestion?

February 8, 2024

Recently, it was announced that Synopsys is buying HPC tool developer Ansys. Started in Pittsburgh, Pa., in 1970 as Swanson Analysis Systems, Inc. (SASI) by John Swanson (and eventually renamed), Ansys serves the CAE (Computer Aided Engineering)/multiphysics engineering simulation market. Read more…

Comparing NVIDIA A100 and NVIDIA L40S: Which GPU is Ideal for AI and Graphics-Intensive Workloads?

October 30, 2023

With long lead times for the NVIDIA H100 and A100 GPUs, many organizations are looking at the new NVIDIA L40S GPU, which it’s a new GPU optimized for AI and g Read more…

Choosing the Right GPU for LLM Inference and Training

December 11, 2023

Accelerating the training and inference processes of deep learning models is crucial for unleashing their true potential and NVIDIA GPUs have emerged as a game- Read more…

Shutterstock 1606064203

Meta’s Zuckerberg Puts Its AI Future in the Hands of 600,000 GPUs

January 25, 2024

In under two minutes, Meta's CEO, Mark Zuckerberg, laid out the company's AI plans, which included a plan to build an artificial intelligence system with the eq Read more…

AMD MI3000A

How AMD May Get Across the CUDA Moat

October 5, 2023

When discussing GenAI, the term "GPU" almost always enters the conversation and the topic often moves toward performance and access. Interestingly, the word "GPU" is assumed to mean "Nvidia" products. (As an aside, the popular Nvidia hardware used in GenAI are not technically... Read more…

Nvidia’s New Blackwell GPU Can Train AI Models with Trillions of Parameters

March 18, 2024

Nvidia's latest and fastest GPU, codenamed Blackwell, is here and will underpin the company's AI plans this year. The chip offers performance improvements from Read more…

Shutterstock 1285747942

AMD’s Horsepower-packed MI300X GPU Beats Nvidia’s Upcoming H200

December 7, 2023

AMD and Nvidia are locked in an AI performance battle – much like the gaming GPU performance clash the companies have waged for decades. AMD has claimed it Read more…

Leading Solution Providers

Contributors

Eyes on the Quantum Prize – D-Wave Says its Time is Now

January 30, 2024

Early quantum computing pioneer D-Wave again asserted – that at least for D-Wave – the commercial quantum era has begun. Speaking at its first in-person Ana Read more…

Intel’s Server and PC Chip Development Will Blur After 2025

January 15, 2024

Intel's dealing with much more than chip rivals breathing down its neck; it is simultaneously integrating a bevy of new technologies such as chiplets, artificia Read more…

The GenAI Datacenter Squeeze Is Here

February 1, 2024

The immediate effect of the GenAI GPU Squeeze was to reduce availability, either direct purchase or cloud access, increase cost, and push demand through the roof. A secondary issue has been developing over the last several years. Even though your organization secured several racks... Read more…

The NASA Black Hole Plunge

May 7, 2024

We have all thought about it. No one has done it, but now, thanks to HPC, we see what it looks like. Hold on to your feet because NASA has released videos of wh Read more…

Intel Plans Falcon Shores 2 GPU Supercomputing Chip for 2026  

August 8, 2023

Intel is planning to onboard a new version of the Falcon Shores chip in 2026, which is code-named Falcon Shores 2. The new product was announced by CEO Pat Gel Read more…

GenAI Having Major Impact on Data Culture, Survey Says

February 21, 2024

While 2023 was the year of GenAI, the adoption rates for GenAI did not match expectations. Most organizations are continuing to invest in GenAI but are yet to Read more…

Q&A with Nvidia’s Chief of DGX Systems on the DGX-GB200 Rack-scale System

March 27, 2024

Pictures of Nvidia's new flagship mega-server, the DGX GB200, on the GTC show floor got favorable reactions on social media for the sheer amount of computing po Read more…

How the Chip Industry is Helping a Battery Company

May 8, 2024

Chip companies, once seen as engineering pure plays, are now at the center of geopolitical intrigue. Chip manufacturing firms, especially TSMC and Intel, have b Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire