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 2 qubits which are guaranteed to be in one of the four orthogonal states: Your task is to perform necessary operations and measurements to figure out which state it was and to return the index of that state (0 for , 1 for etc.). The state of the qubits after the operations does not matter. You have to implement an operation which takes an array of 2 qubits 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 |
40062590 |
PavelKunyavskiy |
B3 |
July 7, 2018, 1:37 p.m. |
OK |
Q# |
TESTS |
1 |
186 |
0 |
|
2100 |
40048946 |
Sisu |
B3 |
July 7, 2018, 2:34 a.m. |
OK |
Q# |
TESTS |
1 |
186 |
0 |
|
2100 |
40047518 |
harshbabla99 |
B3 |
July 7, 2018, 12:50 a.m. |
OK |
Q# |
TESTS |
1 |
186 |
0 |
|
2100 |
40037178 |
ollpu |
B3 |
July 6, 2018, 4:53 p.m. |
OK |
Q# |
TESTS |
1 |
186 |
0 |
|
2100 |
40037120 |
Gnay_Oahnauhz |
B3 |
July 6, 2018, 4:52 p.m. |
OK |
Q# |
TESTS |
1 |
187 |
0 |
|
2100 |
40115031 |
ARegularCoder |
B3 |
July 9, 2018, 2:04 p.m. |
OK |
Q# |
TESTS |
1 |
202 |
0 |
|
2100 |
40097453 |
eatmore |
B3 |
July 9, 2018, 1:16 a.m. |
OK |
Q# |
TESTS |
1 |
202 |
0 |
|
2100 |
40080950 |
rightpeter |
B3 |
July 8, 2018, 9:34 a.m. |
OK |
Q# |
TESTS |
1 |
202 |
0 |
|
2100 |
40064022 |
Hennkka |
B3 |
July 7, 2018, 2:53 p.m. |
OK |
Q# |
TESTS |
1 |
202 |
0 |
|
2100 |
40062017 |
jerry |
B3 |
July 7, 2018, 1:11 p.m. |
OK |
Q# |
TESTS |
1 |
202 |
0 |
|
2100 |
remove filters
Back to search problems