This commit is contained in:
2023-11-25 08:11:57 +01:00
parent d41bb6e734
commit 63e02524d1
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
Quantum
Skynet is getting more and more intelligent.
Currently it is working on some quantum stuff to make time traveling more usable.
But it seems to have a problem. At least we were able to find something it is working on.
Can you solve it?
Visit http://quantum.codectf.localos.io/
The basic auth is the same as for the scoreboard
=>
Write a correct quantum circuit with 6 qubits and 6 classical registers in OpenQASM 2.0 which produces the desired output probability distribution:
"111110": 0.1666666666,
"111101": 0.1666666666,
"111011": 0.1666666666,
"110111": 0.1666666666,
"101111": 0.1666666666,
"011111": 0.1666666666
The quality of the result is measured by summing the squares of differences between the found solution and the desired distribution and should be below 10-4.
Example input
OPENQASM 2.0;
include "qelib1.inc";
qreg q[6];
creg c[6];
// YOUR CODE GOES HERE
measure q -> c;
Your solution:
...