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 Y gate (possibly with an extra global phase of -1 ) or the sequence of Pauli Z and Pauli X gates (the Z gate applied first and the X gate applied second; possibly with an extra global phase of -1 ). 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 at most three times. 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 |
84644804 |
2qbingxuan |
A7 |
June 22, 2020, 8:45 a.m. |
OK |
Q# |
TESTS |
1 |
124 |
0 |
|
|
84416368 |
spar5h |
A7 |
June 20, 2020, 1:09 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
102400 |
|
|
84404272 |
wleter |
A7 |
June 20, 2020, 10:28 a.m. |
OK |
Q# |
TESTS |
1 |
155 |
204800 |
|
|
84397886 |
Xellos |
A7 |
June 20, 2020, 9:03 a.m. |
OK |
Q# |
TESTS |
1 |
155 |
204800 |
|
|
84514644 |
tomerun |
A7 |
June 20, 2020, 5:44 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
409600 |
|
|
84369481 |
mnbvmar |
A7 |
June 19, 2020, 10:45 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
512000 |
|
|
84363161 |
kadora |
A7 |
June 19, 2020, 8:05 p.m. |
OK |
Q# |
TESTS |
1 |
155 |
512000 |
|
|
84580817 |
SuliAmit |
A7 |
June 21, 2020, 11:58 a.m. |
OK |
Q# |
TESTS |
1 |
155 |
716800 |
|
|
84657845 |
moptranzistor |
A7 |
June 22, 2020, 11:41 a.m. |
OK |
Q# |
TESTS |
1 |
170 |
0 |
|
|
84350981 |
vilim_l |
A7 |
June 19, 2020, 5:23 p.m. |
OK |
Q# |
TESTS |
1 |
170 |
0 |
|
|
remove filters
Back to search problems