As great strides are made towards the creation of physical quantum computers, a team of researchers at University of Technology Sydney (UTS) has launched a quantum programming environment to help developers get to grips with their quirks and complexity.
While a number of quantum programming platforms have been developed since the 1990s, theQ?SI? platform– named after the Centre for Quantum Software and Information where the researchers are based – includesa compiler anda chain of toolsto simulate quantum computations, optimise circuits and verify programs.
“The theory has developed over more than 10 years, but since last year we wanted to try some practice, to represent the theory and to show the community how it works and what it can be used for,” the centre’s Shusen Liu toldComputerworld.
The platform has four main elements: A quantum simulation engine, an analysis module, verification module, and compiler. It uses a quantum extension of the ‘while-language’ – developed by UTS’ Mingsheng Ying, co-author of the platform’saccompanying paper– which is embedded in the .Net framework.
“As happened with classical computing, once quantum computers are commercialised, programmers will need a platform that can express and implement quantum algorithms without considering the trivialities of their circuits,” Shusen said.
“Such a platform will be even more helpful for quantum programming than in classical computing because physically implementing quantum algorithms in a quantum system is somewhat counterintuitive. Using a platform like ours could help programmers understand some of these features, which may help to avoid some of the errors,” he added.
The complete platform is available now onGitHub,is Windows compatible and will support Linux and OS X in the future. The group will be providing APIs for advanced use cases soon.
Cannot wait for hardware
Q?SI? joins a growing number of public quantum languages and environments.
In 2016, IBM created its QASM programming language for direct construction of quantum computing routines.Last yearit launched a lightweight quantum API and SDK to allow connection to the backend of the Quantum Experience, execution of the QASM code, and return of the results, from Python scripts.
In Decemberlast year Microsoft launched a preview of its Quantum Development Kit made up of: a quantum programming language Q#, local and Azure hosted quantum simulators and a GitHub library of quantum focused code.
Microsoft included a local simulator in the kit to enablefull debugging support,includingthe settingof breakpoints. The kit includes atrace simulatortohelp developers optimise codeto run on a quantum computerandestimate the cost ofusing Microsoft’s cloud-based 40-qubit simulator.
“While other platforms do have their advantages, the advantage of Q?SI? is its potential to connect different platforms together to explore quantum algorithms,” Shusen said.
"Microsoft is starting a new journey of quantum language with Q# after their first try called LIQUi|gt; while IBM is constructing a historic quantum cloud model. Q|SIgt; is on the road towards bringing quantum research and development toolsets for general users as classical programming,” he added.
Although a physical quantum many years away, UTS Professor Minsheng Yingspeaking to Computerworldlast year, explained work on the software side couldn’t wait.
“We cannot wait until they have the hardware,” adds Ying. “Designing and implementing a quantum programming language and environment is huge. It takes years. If we wait until the machine is there, other people will definitely be there.”
“People say if you are doing this science, you must foresee the next 20 years,” he added.
TheQSI centre, based within the university's cheesegrater building in Ultimo, was launched in late 2016, spun out of a lab within the Centre for Quantum Computation and Intelligent Systems, which began in 2008.
Its areas of focus include quantum programming and verification, quantum algorithms, quantum applications for artificial intelligence, cryptography and security as well as identifying other tasks that demonstrate ‘quantum supremacy’ over conventional computers.
UTS isone of four universitiesseeking to establish a Sydney Quantum Academy along with the University of Sydney, UNSW and Macquarie University.
The NSW governmentthis monthannounced it would be putting $500,000 towards the development of a proposal for the academy, which will support postgraduate training and research, attract global talent, and “assist the translation of fundamental research into high-tech, value-added jobs in the Sydney basin”.
The universities are due to detail the proposed academy to the NSW government in August.