Microsoft Q# Coding Contest - Summer 2020

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.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1357 Microsoft Q# Coding Contest - Summer 2020 FINISHED False 259200 139240799 June 19, 2020, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 511 ) A2 Distinguish I, CNOTs and SWAP PROGRAMMING

B'You are given an operation that implements a two-qubit unitary transformation: either the identity (I xe2 x8a x97 I gate), the CNOT gate (either with the first qubit as control and the second qubit as target or vice versa) or the SWAP 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 at most twice. You have to implement an operation which takes a two-qubit operation unitary as an input and returns an integer. The operation unitary will accept an array of qubits as input, but it will fail if the array is empty or has one or more than two qubits. Your code should have the following signature: '...

Tutorials

Microsoft Q# Coding Contest – Summer 2020: editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
84596142 dajeff A2 June 21, 2020, 3:19 p.m. OK Q# TESTS 1 108 0
84345917 kkongas A2 June 19, 2020, 4:32 p.m. OK Q# TESTS 1 108 0
84343847 d1vyaanshu.bhardwaj A2 June 19, 2020, 4:13 p.m. OK Q# TESTS 1 108 0
84353188 olivialin A2 June 19, 2020, 5:49 p.m. OK Q# TESTS 1 109 0
84345079 sanesedu A2 June 19, 2020, 4:24 p.m. OK Q# TESTS 1 109 0
84343356 TexanElite A2 June 19, 2020, 4:09 p.m. OK Q# TESTS 1 109 0
84625018 magurofly A2 June 22, 2020, 2:17 a.m. OK Q# TESTS 1 124 0
84613313 vk09 A2 June 21, 2020, 7:33 p.m. OK Q# TESTS 1 124 0
84611311 habibulka A2 June 21, 2020, 6:58 p.m. OK Q# TESTS 1 124 0
84597056 peyha A2 June 21, 2020, 3:29 p.m. OK Q# TESTS 1 124 0

remove filters

Back to search problems