https://analyticsindiamag.com/twist-a-new-programming-language-for-quantum-computing/#:~:text=Scientists%20from%20MIT's%20Computer%20Science,intuitive%20programs%2C%20with%20fewer%20bugs.

"Scientists from MIT’s Computer Science and Artificial Intelligence (CSAIL) 
have created Twist – a programming language for quantum computing. The language 
uses a concept called purity, which enforces the absence of entanglement and 
results in intuitive programs, with fewer bugs. Twist can describe and verify 
which pieces of data are entangled in a quantum program, using a language a 
programmer can understand.

"Programming quantum computers requires awareness of entanglement. When two 
qubits are entangled, actions on one qubit can change the value of the other, 
even when they are physically separated. This potency is also a source of 
weakness. While programming, discarding one qubit without being mindful of its 
entanglement with another qubit can destroy the data stored in the other. This 
jeopardises the correctness of the program. 

“Our language Twist allows a developer to write safer quantum programs by 
explicitly stating when a qubit must not be entangled with another,” said 
Charles Yuan, an MIT PhD student in electrical engineering and computer science 
and the lead author on a new paper about Twist. “Because understanding quantum 
programs requires understanding entanglement, we hope that Twist paves the way 
to languages that make the unique challenges of quantum computing more 
accessible to programmers.” 

Reply via email to