Solutions are presented as using the least memory and the fastest execution time. It also takes the top
10 most recent solutions from each language. If you want to limit to a specific index, click the
"Solved" button and go to that problem.
Problems
B'You are given two qubits in state |00 rangle . Your task is to prepare the following state on them: frac{1}{ sqrt{3}} big( |01 rangle + |10 rangle + |11 rangle) This task is very similar to problem A1 of the Winter 2019 contest, but this time you are not allowed to use any gates except the Pauli gates (X, Y and Z), the Hadamard gate and the controlled versions of those. However, you are allowed to use measurements. You have to implement an operation which takes an array of 2 qubits as an input and has no output. The "output" of your solution is the state in which it left the input qubits. Your code should have the following signature: '... |
Tutorials
Submissions
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
83561960 |
Svlad_Cjelli |
C |
June 12, 2020, 8:23 p.m. |
OK |
Q# |
TESTS |
1 |
139 |
0 |
|
|
83853696 |
pgrudra |
C |
June 15, 2020, 3:06 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
0 |
|
|
83782787 |
Xoreus |
C |
June 14, 2020, 9:42 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
0 |
|
|
83586941 |
verngutz |
C |
June 13, 2020, 7:17 a.m. |
OK |
Q# |
TESTS |
1 |
155 |
0 |
|
|
83567575 |
Norrius |
C |
June 12, 2020, 11:15 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
0 |
|
|
83559708 |
mihai.zsisku |
C |
June 12, 2020, 7:41 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
0 |
|
|
83558943 |
fedimser |
C |
June 12, 2020, 7:27 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
0 |
|
|
83856486 |
Tinkidinki |
C |
June 15, 2020, 3:37 p.m. |
OK |
Q# |
TESTS |
1 |
170 |
0 |
|
|
83824934 |
uchu.engineer |
C |
June 15, 2020, 8:49 a.m. |
OK |
Q# |
TESTS |
1 |
170 |
0 |
|
|
83730481 |
Djohnnie |
C |
June 14, 2020, 8:33 a.m. |
OK |
Q# |
TESTS |
1 |
170 |
0 |
|
|
remove filters
Back to search problems