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 an operation that implements a single-qubit unitary transformation: either the identity (I gate) or one of the Pauli gates (X, Y or Z gate). The operation will have Adjoint and Controlled variants defined. Your task is to perform necessary operations and measurements to figure out which unitary it was and to return You are allowed to apply the given operation and its adjoint/controlled variants exactly once. You have to implement an operation which takes a single-qubit operation as an input and returns an integer. 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 |
84519147 |
JeffreyLC |
A6 |
June 20, 2020, 6:27 p.m. |
OK |
Q# |
TESTS |
1 |
108 |
0 |
|
|
84677686 |
2qbingxuan |
A6 |
June 22, 2020, 3:28 p.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84630747 |
lwz |
A6 |
June 22, 2020, 5 a.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84405026 |
ollpu |
A6 |
June 20, 2020, 10:38 a.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84370473 |
arthur.nascimento |
A6 |
June 19, 2020, 11:20 p.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84362340 |
PavelKunyavskiy |
A6 |
June 19, 2020, 7:51 p.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84362153 |
harshitgarg22 |
A6 |
June 19, 2020, 7:48 p.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84357741 |
Adbhut |
A6 |
June 19, 2020, 6:43 p.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84348592 |
kamer |
A6 |
June 19, 2020, 4:57 p.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84624044 |
agural |
A6 |
June 22, 2020, 1:35 a.m. |
OK |
Q# |
TESTS |
1 |
139 |
0 |
|
|
remove filters
Back to search problems