3 ms·
Except for the name in itself, nowhere in the features it is explicit that the language does quantum computation, in addition to traditional computation.
by az09mugen 9mo ago
Except for the name in itself, nowhere in the features it is explicit that the language does quantum computation, in addition to traditional computation.
- YougOtricked 9mo agoDid you read the readme? look it directly says Quantum Features Quantum C is the world's second quantum programming language (at least, that more than like 2 people would ever say the name of(now that statement is true)), but the first that doesn't require a $10M quantum computer! Quantum Booleans qbool qb = both; // Superposition! Both true AND false! qif (qb) { println("True path"); // Executes! } qelse { println("False path"); // ALSO executes! } Quantum Logic Operators // Note these are not for normal booleans &&& - Quantum AND ||| - Quantum OR !! - Quantum NOT ^^ - Quantum XOR === - Quantum EQUAL !== - Quantum NOT EQUAL |&| - Collapse OR (convert to bool) &|& - Collapse AND (convert to bool)
- YougOtricked 9mo agothe readme specificaly says that they are quantum logical operators. Should i also specify that normal bools exist?