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 a quantum oracle - an operation on N xe2 x80 x89+ xe2 x80 x891 qubits which implements a function . You are guaranteed that the function f implemented by the oracle can be represented in the following form (oracle from problem D2): Here (a vector of N integers, each of which can be 0 or 1), and is a vector of N 1s. Your task is to reconstruct the array which could produce the given oracle. Your code is allowed to call the given oracle only once. You have to implement an operation which takes the following inputs: The return of your operation is an array of integers of length N, each of them 0 or 1. Note that in this problem we 're comparing the oracle generated by your return to the oracle Uf, instead of comparing your return to the (hidden) value of used to generate Uf. This means that any kind of incorrect return results in "Runtime Error" verdict, as well as actual runtime errors like releasing qubits in non-zero state. 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 |
40055849 |
vitruvius |
E2 |
July 7, 2018, 8:47 a.m. |
OK |
Q# |
TESTS |
50 |
343 |
3584000 |
|
2400 |
40048828 |
alex20030190 |
E2 |
July 7, 2018, 2:26 a.m. |
OK |
Q# |
TESTS |
50 |
358 |
3481600 |
|
2400 |
40075650 |
kobae964 |
E2 |
July 8, 2018, 4:54 a.m. |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
40069036 |
guretat |
E2 |
July 7, 2018, 7:29 p.m. |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
40064823 |
verngutz |
E2 |
July 7, 2018, 3:35 p.m. |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
40049479 |
pajenegod |
E2 |
July 7, 2018, 3:07 a.m. |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
40046887 |
miniluigi |
E2 |
July 7, 2018, midnight |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
40046765 |
mjhun |
E2 |
July 6, 2018, 11:48 p.m. |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
40046184 |
sragavan |
E2 |
July 6, 2018, 10:56 p.m. |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
40040764 |
y0105w49 |
E2 |
July 6, 2018, 6:24 p.m. |
OK |
Q# |
TESTS |
50 |
358 |
3584000 |
|
2400 |
remove filters
Back to search problems