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
( 461 ) A3 Distinguish Z from S PROGRAMMING *special

B'You are given an operation that implements a single-qubit unitary transformation: either the Z gate or the S 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 Z gate or 1 if it was the S gate. You are allowed to apply the given operation and its adjoint/controlled variants exactly twice. 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
83782486 Baba A3 June 14, 2020, 9:33 p.m. OK Q# TESTS 1 93 0
83752194 Rotsor A3 June 14, 2020, 1:34 p.m. OK Q# TESTS 1 93 0
83825586 mk_yoshi A3 June 15, 2020, 8:59 a.m. OK Q# TESTS 1 108 0
83704558 amir_e A3 June 13, 2020, 11:35 p.m. OK Q# TESTS 1 108 0
83597364 Prabowo A3 June 13, 2020, 9:40 a.m. OK Q# TESTS 1 108 0
83583968 Spheniscine A3 June 13, 2020, 6:37 a.m. OK Q# TESTS 1 108 0
83571680 tanaka_733 A3 June 13, 2020, 2:25 a.m. OK Q# TESTS 1 108 0
83555082 aditya.verma A3 June 12, 2020, 6:29 p.m. OK Q# TESTS 1 108 0
83790346 box_of_donuts A3 June 15, 2020, 3:07 a.m. OK Q# TESTS 1 109 0
83703144 Math_Master A3 June 13, 2020, 10:36 p.m. OK Q# TESTS 1 109 0

remove filters

Back to search problems