Quantum computer programming for dummies

Quantum computer programming for dummies

A new guide to programming quantum algorithms walks programmers through every step, from theory to implementing the algorithms on IBM’s publicly available 5-qubit ibmqx4 quantum computer and others. Credit: Dreamtime

For would-be quantum programmers scratching their heads over how to jump into the game as quantum computers proliferate and become publicly accessible, a new beginner’s guide provides a thorough introduction to quantum algorithms and their implementation on existing hardware.

“Writing quantum algorithms is radically different from writing classical computing programs and requires some understanding of quantum principles and the mathematics behind them,” said Andrey Y. Lokhov, a scientist at Los Alamos National Laboratory and lead author of the recently published guide in ACM Transactions on Quantum Computing. “Our guide helps quantum programmers get started in the field, which is bound to grow as more and more quantum computers with more and more qubits become commonplace.”

In succinct, stand-alone sections, the guide surveys 20 quantum algorithms—including famous, foundational quantum algorithms, such as Grover’s Algorithm for database searching and much more, and Shor’s Algorithm for factoring integers. Making the real-world connection, the guide then walks programmers through implementing the algorithms on IBM’s publicly available 5-qubit IBMQX4 quantum computer and others. In each case, the authors discuss the results of the implementation and explain the differences between the simulator and the actual hardware runs.

“This article was the result of a rapid-response effort by the Information Science and Technology Institute at Los Alamos, where about 20 Lab staff members self-selected to learn about and implement a standard quantum algorithm on the IBM Q quantum system,” said Stephan Eidenbenz, a senior quantum computing scientist at Los Alamos, a coauthor of the article and director of ISTI when work on it began.

The goal was to prepare the Los Alamos workforce for the quantum era by guiding those staff members with little or no quantum computing experience all the way through the implementation of a quantum algorithm on a real-life quantum computer, Eidenbenz said.

These staff members, in addition to a few students and well-established quantum experts, make up the long author list of this “crowd-sourced” overview article that has already been heavily cited, Eidenbenz said.

The first section of the guide covers the basics of quantum computer programming, explaining qubits and qubit systems, fundamental quantum concepts of superposition and entanglement and quantum measurements before tackling the deeper material of unitary transformations and gates, quantum circuits and quantum algorithms.

The section on the IBM quantum computer covers the set of gates available for algorithms, the actual physical gates implemented, how the qubits are connected and the sources of noise, or errors.

Another section looks at the various types of quantum algorithms. From there, the guide dives into the 20 selected algorithms, with a problem definition, description and steps for implementing each one on the IBM or, in a few cases, other computers.

Extensive references at the end of the guide will help interested readers go deeper in their explorations of quantum algorithms.


Developing the

Read More

US and South Korean cooperation on nuclear technology positive sign for K-SSN

Domestic media outlets, such as Newsisare speculating that this may pave the way for the South Korean acquisition of nuclear-powered attack submarines.

“The two leaders commit to greater nuclear energy collaboration and accelerating the development and global deployment of advanced reactors and small modular reactors by jointly using export promotion and capacity building tools, and building a more resilient nuclear supply chain…The US welcomes the ROK’s decision to join the US-led Foundational Infrastructure for Responsible Use of Small Modular Reactor Technology (FIRST) program.”


White house press statement

US and South Korean cooperation on nuclear technology positive sign for K-SSN
President Yoon Seok-yeol and US President Joe Biden summit

SMRs are nuclear reactors that have a maximum power generating capacity of less than 300 megawatts. This type of reactor has been used on nuclear submarines for decades, although more recent studies have focused on utilizing it for civilian purposes. Experts say that securing SMR technology is a critical step in acquiring nuclear submarines.

The possibility of South Korea developing nuclear submarines is more than just speculation. According to a source familiar with the situation who wished to remain anonymous, a “technical briefing” regarding the country’s potential acquisition of nuclear submarines recently took place. The meeting is said to have been attended by officials from South Korea’s Defense Acquisition Program Administration, the Republic of Korea Navy, Daewoo Shipbuilding & Marine Engineering, and a major foreign company with expertise in nuclear submarines. Naval News reached out to the Ministry of National Defense (MND) for comment.

MADEX 2021: HHI unveils new CVX Aircraft Carrier design
HHI unveiled a stunning CVX light aircraft carrier design at MADEX 2021

“The military will come to a decision after taking into account a multitude of factors, including South Korea’s security environment, technology, and budgetary constraints.”


South Korea MND statement

This latest development comes amid growing concerns about the country’s aircraft carrier program (CVX). Key members of the new administration, including the Minister of National Defense, have expressed reservations about the initiative. The Yoon Administration has also dismissed the previous administration’s pro-CVX Chief of Naval Operations just half a year after his appointment in December last year. Speculation is growing that the new administration might be planning on axing the CVX program and acquiring nuclear submarines instead.

Read More

US Army terminates science and technology effort for strategic long-range cannon

WASHINGTON — The US Army has decided to cancel the science and technology research effort that could have led to a program to develop a strategic long-range cannon, the service confirmed.

Long-range precision fires is a top priority for the Army when it comes to developing a modernized force capable of facing off against advanced adversaries like China. The cannon could’ve provided a way to achieve artillery ranges of 1,000 nautical miles.

Congress directed the Army to stop funding the weapon in its fiscal 2022 appropriations act, and “based on that direction, the Secretary of the Army decided to terminate the [strategic long-range cannon] project this year,” Army spokesperson Ellen Lovett said in a May 20 statement to Defense News.

The decision also “eliminates potential redundancy, and ensures we effectively use tax dollars to achieve modernization objectives,” she wrote. “Pursuing the effort could cost billions of dollars even if the science and technology effort succeeded because the Army would have to enter into a development program, procure the system, and create entirely new units to operate it.”

The Army still has four other long-range fires programs set to reach operational Army units in 2023: the Extended Range Cannon Artillery, the Long-Range Hypersonic Weapon, a midrange anti-ship missile and the Precision Strike Missile.

“Any unused funds originally allocated to LRC [the long-range cannon] will be reapplied against other S&T projects in accordance with the direction of the Assistant Secretary of the Army for Acquisitions, Logistics and Technology,” Lovett stated.

During a House Tactical Air and Land Forces Subcommittee hearing last week, Army acquisition chief Doug Bush told lawmakers the decision to cancel the S&T effort for the strategic long-range cannon was to avoid “redundancy” and “potential cost implications.”

Although full cost estimates are not normally made for programs in the S&T phase, Bush noted: “We did feel we had sufficient information based on similar programs that are in development and to understand the rough scope of such an effort, and the secretary believes that was enough information to support her decision.”

Some work on the cannon’s S&T effort was ongoing, but the Army had mostly taken a pause as it waited for a National Academy of Sciences report on the weapon’s technical feasibility, Brig. Gene. John Rafferty, who oversees the service’s long-range precision fires development, told Defense News in March 2021.

The independent study, congressionally mandated in FY20, was expected to be released last year, but was not yet made public by press time. Beginning in September 2020, the committee at the National Academy of Sciences held five meetings, the last of which took place in January 2021, according to its website.

According to FY21 budget justification documents, the Army planned to spend roughly $70 million in FY22 on advanced development of the program, but subsequent documents from FY22 and FY23 showed no plan to continue funding the effort beyond FY21.

The Army spent $62 million in FY21 to assess various aspects of the technology needed for the long-range cannon.

Jen

Read More

Snowflake is going big on one of the world’s most popular programming languages

Snowflake has announced plans to bring Python “to the forefront” of its Data Cloud platform with upgrades that extend support for the programming language.

At its annual user conference, Snowflake Summit, the database company announced an expansion of its Snowpark developer framework that will give users easy access to a bounty of open source Python packages and libraries.

Now moving from private beta to public preview, Snowpark for Python promises to “improve programmability for data scientists, data engineers and app developers”, Snowflake says.

Snowpark for Python

Snowflake first introduced Snowpark in preview back in January 2021, before pushing the service to general availability earlier this year. Broadly, the objective was to give developers a simple and efficient way to program data in their language of choice.

“Our goal was to eliminate inefficient data pipelines and optimize processes and tasks that companies may be using just to get everyone on the same (data) page,” said the firm, at the time of the launch.

“Ultimately, Snowpark enables teams with different skill sets to collaborate and work on the same data, process data faster and more easily, and make data security and governance a top priority.”

When it first went live, the Snowpark sandbox offered support for Java and Scala only, but the latest update now brings another of the world’s most popular programming languages ​​into the fray.

To supplement the rollout of Snowpark for Python, Snowflake also lifted the lid on a series of related upgrades that are currently under development. These include a native integration with Streamlit and other facilities designed to support the development and deployment of machine learning products written in Python.

Separately, the firm announced a private preview for a new service that will allow customers to access data stored in on-premise servers from within the Snowflake ecosystem, affording organizations the benefits of the cloud-based platform without the hassle of data migration.

“We are investing in Python to make it easier for data scientists, data engineers and application developers to build even more in the Data Cloud, without governance trade-offs,” said Christian Kleinerman, SVP Product at Snowflake.

“Our latest innovations extend the value of our customers’ data-driven ecosystems, enabling them with more access to data and new watts to develop with it in Snowflake. [These capabilities] are changing the way teams experiment, iterate and collaborate with data to drive value.”


Disclaimer: Our flights and accommodation for Snowflake Summit 2022 were funded by Snowflake, but the organization had no editorial control over the content of this article.

Read More