Quantum computer programming for dummies

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 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 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.

Papers: “Quantum Algorithm Implementations for Beginners,” by Abhijith J., Adetokunbo Adedoyin, John Ambrosiano, Petr Anisimov, William Casper, Gopinath Chennupati, Carleton Coffrin, Hristo Djidjev, David Gunter, Satish Karra, Nathan Lemons, Shizeng Lin, Alexander Malyzhenkov, David Mascarenas, Susan Mniszewski, Balu Nadiga, Daniel O’Malley, Diane Oyen, Scott Pakin, Lakshman Prasad, Randy Roberts, Phillip Romero, Nandakishore Santhi, Nikolai Sinitsyn, Pieter J. Swart, James G. Wendelberger, Boram Yoon, Richard Zamora, Wei Zhu, Stephan Eidenbenz, Andreas Bärtschi, Patrick J. Coles, Marc Vuffray, and Andrey Y. Lokhov, in ACM Transactions on Quantum Computing. Link: https://dl.acm.org/doi/10.1145/3517340.

Funding: Information Science and Technology Institute at Los Alamos National Laboratory through the Laboratory Directed Research and Development program.

LA-UR-22-25067

Let the AI ​​Coding Wars Begin!

The big news this week was a call from tech luminaries to pause development and deployment of AI models more advanced than OpenAI’s GTP-4—the stunningly capable language algorithm behind ChatGPT—until risks including job displacement and misinformation can be better understood.

Even if OpenAI, Google, Microsoft, and other tech heavyweights were to stop what they’re doing—and they’re not going to stop what they’re doing—the AI ​​models that have already been developed are likely to have profound impacts, especially in software development.

It might not look like a regular business deal, but Alphabet’s agreement to supply AI to Replit, a web-based coding tool with over 20 million users, is something of a seismic shift. Replit will use Google’s AI models, along with others, in Ghostwriter, a tool that recommends code and answers code-related questions in a similar manner to ChatGPT. Amjad Masad, Replit’s CEO, tells me that Google has “super cool technology” and that his company can get it into the hands of developers. Through this partnership, Google will also make Replit available to users of Google Cloud, helping it reach more business customers.

The move is particularly significant because Alphabet is squaring up to Microsoft and GitHub, which are also using AI to assist coders with Copilot, an add-on for Visual Studio. The same AI that makes ChatGPT seem so clever works on computer languages. When you start typing code, tools like Copilot will suggest a way to complete it.

Alphabet’s move also signals what could be the next big battleground for large tech companies. While so much attention is being paid to ChatGPT parlor tricks and Midjourey 5 versions of Donald Trump, the bigger story is about which companies can offer developers the best AI tools—and the new software that developers will build with that AI by their side.

Research from Microsoft suggests that developers can perform tasks over 50 percent faster when using an AI assistant. Companies that offer cutting-edge AI can draw developers to their coding tools and get those users hooked on their clouds and other stuff. Amazon has developed an AI coding tool called Code Whisperer, and Meta is working on one for internal use too. Presumably, Apple will not want to be left behind.

As well as helping developers write code, AI is starting to change the way code is put together. Last week, OpenAI announced that the first plugins for ChatGPT had been created. They will make it possible for the bot to perform tasks such as searching for flights, booking restaurants, and ordering groceries. Incorporating AI into code can also accelerate software development. This week Masad of Replit shared a neat example—an app that will turn voice commands into working websites. “We think a lot of software projects will start that way in the future,” Masad says.

With things moving so quickly, it’s worth considering what the consequences of rapidly incorporating AI into software development might be. AI tools can reproduce vulnerabilities in the code they suggest that developers may not notice or might be unable to spot. Perhaps developers will become more complacent, or see their skills atrophy, if they rely too heavily on AI. And what kind of “technical debt” might emerge if programmers need to go back and fix software that no human has ever closely examined?

It may not be long before we find out.

Scripps News to expand documentary programming by creating new longform units

March 23, 2023
By Molly Miossi

ATLANTA – Scripps News will significantly expand its documentary programming by creating a new long-form unit dedicated to producing compelling cinematic offerings for Scripps News platforms and distribution partners.

Scripps News, a division of The EW Scripps Company, is the nation’s only 24/7 TV news network available for free over the air.

New full-time hires joining Scripps News’ longform team will include journalists with experience on shows such as CNN’s “This Is Life,” Showtime’s “VICE” and Comedy Central’s “Klepper.” Zach Toombs has been promoted to director of long form and will oversee the network’s documentary programming. Toombs, previously the deputy director of programs, will report to Scripps Head of Program Development Ethan Nelson.

Scripps News’ expanded documentary programming will build on its award-winning lineup that includes:

  • Scripps News Showcase” (formerly known as “Newsy Docs Presents”), a showcase of documentary films that introduce viewers to captivating characters and impactful issues. Season 4 of “Scripps News Showcase” will premiere March 26 and will feature originally produced projects and documentaries from independent filmmakers.
  • In Real Life,” a documentary series that dives deep on a different topic in each episode. Season 4 of “In Real Life” will premiere April 2.
  • NextLevel,” an original series that dives into the real-world influence of gaming — from its impact on technology and entertainment to politics and culture at large. Season 2 of “Next Level” will premiere this fall.
  • Bellingcat,” a series that brings viewers open-source visual investigations that use satellite imagery, social media and online tools to shed light on international conflict — from tracking weapon supplies to debunking government claims. This Emmy-nominated series is a partnership of Scripps News and the investigative journalism outlet Bellingcat.

“Scripps is proud to be expanding our award-winning documentary programming. “Not only is the content engaging, but this kind of compelling longform broadcast journalism is essential to keeping viewers informed and enlightened,” said Scripps News President Kate O’Brian.

“At a time when the ethical lines of documentary production are increasingly blurred, we’re keeping journalism and the journalistic process at the center of our work,” said Toombs. “Our mission is to create documentaries and series that inform, entertain and build trust with our viewers.”

Some of the planned documents:

  • April 2, “In Real Life: Crypto Crash”
    What was behind the collapse of crypto giant FTX? And what does it say about digital currencies, celebrity endorsements, and the collision of tech and finance? Insider accounts and creative animation take viewers beyond the headlines.
  • April 16, “In Real Life: Next Gen Stunts”
    A new generation of Hollywood stunt workers is changing the industry from the ground up. Featuring the stunt team behind “Everything Everywhere All At Once,” this documentary shows the behind-the-scenes reality for a new crop of stunt workers making Hollywood’s biggest hits.
  • May 7, Scripps News Showcase, “No Greater Love”
    An Army chaplain looks at combat deployment in Afghanistan and the various struggles that returning soldiers face in this award-winning documentary film.
  • May 14, “In Real Life: Ukrainian Sniper”
    A Ukrainian sniper navigates a warzone and a pregnancy, creating a space for more women on the frontlines.
  • May 21, “In Real Life: Voices of Nature”
    Artificial intelligence opens up new possibilities for scientists communicating with animals — from sending messages to elephants on the plains of Kenya to mimicking honey bees and bat sounds.

Media contacts: Michael Perry, (513) 259-4718, [email protected]

About Scripps News
Scripps News (@ScrippsNews) is the nation’s only free 24/7 broadcast news network, serving viewers opinion-free national news from 16 news bureaus across the US and Scripps’ Local Media national desk. Scripps News is available in more than 94% of US television homes free and over the air with a digital antenna, on mobile with the Scripps News app and online at ScrippsNews.com. It is also carried on streaming platforms and services, including Samsung TV Plus, Roku, Amazon Fire TV, Pluto TV, Apple TV, Sling, Vizio and Xumo. Scripps News is part of The EW Scripps Company (NASDAQ: SSP).

Our students became Polish Champions in PLC programming / News / Lublin University of Technology

Kamil Zarajczyk, BEng and Filip Szewczyk, students of the robotization of manufacturing processes, as well as members of the Student Scientific Club of Robotization and Computer Science Applications, took first place at the Student Automation Championship in programming logic controllers in industrial machines. Our team defeated 50 teams from all over Poland. The final of the Championship was held on October 5, 2022 in Olsztyn, during the 5th Specialist Conference “Automation and Robotization of Industry”.

The organizers of the competition assured: – Industrial automation is a fantastic industry and we want to attract as many people as possible by showing them what the work of automation specialists is all about. The Student Automation Championship gives you the opportunity to showcase your skills and enables developers to start building their personal brand.

The main goal of the competition is to popularize PLC programming among future industrial automation programmers.

– The subject of the competition, ie PLC, is a microprocessor responsible for controlling the machine.

PLC programming is all about writing algorithms that make the device perform specific actions – says Dr. Eng. Łukasz Sobaszek, supervisor of the Student Scientific Club of Robotization and Computer Science Applications.

The first stage of the competition was about solving tasks in the field of general knowledge of automation, as well as the ability to interpret and write PLC code. In the second stage, the participants solved a practical problem which concerned programming a simulated production line. In the final stage, the four best teams from Poland had to develop a program to control the high-bay warehouse. The final task included a number of requirements in the fields of system operation modes, safety systems operation, counting elements, or the implementation of the defined priority rule.

– I’m proud of my students. They perfectly used the knowledge gained during the classes at LUT and working in the research club. Our club is open to all people interested in modern software used in the broadly understood computer support of manufacturing processes and robotization of production – emphasizes Dr. Eng. Łukasz Sobaszek.

The organizers of the competition were: the job portal ‘RobotaAutomatyka.pl’, the Alnea company, as well as the organizers of the ‘Automation and Robotization of Industry’ conference.