Microsoft Q# Coding Contest - Summer 2020 - Warmup

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
1356 Microsoft Q# Coding Contest - Summer 2020 - Warmup FINISHED False 259200 139845599 June 12, 2020, 4 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 603 ) A1 Distinguish I from X PROGRAMMING *special

B'You are given an operation that implements a single-qubit unitary transformation: either the identity (I gate) or the X 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 0 if it was the I gate or 1 if it was the X gate. 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

Microsoft Q# Coding Contest – Summer 2020 — Warmup: editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
83819079 Cecile78 A1 June 15, 2020, 7:23 a.m. OK Q# TESTS 1 92 0
83816102 Dada78 A1 June 15, 2020, 6:39 a.m. OK Q# TESTS 1 92 0
83656843 kobae964 A1 June 13, 2020, 4:01 p.m. OK Q# TESTS 1 93 0
83853519 Ra16bit A1 June 15, 2020, 3:04 p.m. OK Q# TESTS 1 108 0
83838059 liureledu A1 June 15, 2020, 11:56 a.m. OK Q# TESTS 1 108 0
83749825 staffik A1 June 14, 2020, 1 p.m. OK Q# TESTS 1 108 0
83717697 algmyr A1 June 14, 2020, 5:37 a.m. OK Q# TESTS 1 108 0
83619493 zhupeijun A1 June 13, 2020, 2:22 p.m. OK Q# TESTS 1 108 0
83601482 Derzeed A1 June 13, 2020, 10:33 a.m. OK Q# TESTS 1 108 0
83595001 Prabowo A1 June 13, 2020, 9:07 a.m. OK Q# TESTS 1 108 0

remove filters

Back to search problems