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
( 303 ) C Prepare state |01⟩ + |10⟩ + |11⟩ PROGRAMMING *special

B'You are given two qubits in state |00 rangle . Your task is to prepare the following state on them: frac{1}{ sqrt{3}} big( |01 rangle + |10 rangle + |11 rangle) This task is very similar to problem A1 of the Winter 2019 contest, but this time you are not allowed to use any gates except the Pauli gates (X, Y and Z), the Hadamard gate and the controlled versions of those. However, you are allowed to use measurements. You have to implement an operation which takes an array of 2 qubits as an input and has no output. The "output" of your solution is the state in which it left the input qubits. 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
83561960 Svlad_Cjelli C June 12, 2020, 8:23 p.m. OK Q# TESTS 1 139 0
83853696 pgrudra C June 15, 2020, 3:06 p.m. OK Q# TESTS 1 155 0
83782787 Xoreus C June 14, 2020, 9:42 p.m. OK Q# TESTS 1 155 0
83586941 verngutz C June 13, 2020, 7:17 a.m. OK Q# TESTS 1 155 0
83567575 Norrius C June 12, 2020, 11:15 p.m. OK Q# TESTS 1 155 0
83559708 mihai.zsisku C June 12, 2020, 7:41 p.m. OK Q# TESTS 1 155 0
83558943 fedimser C June 12, 2020, 7:27 p.m. OK Q# TESTS 1 155 0
83856486 Tinkidinki C June 15, 2020, 3:37 p.m. OK Q# TESTS 1 170 0
83824934 uchu.engineer C June 15, 2020, 8:49 a.m. OK Q# TESTS 1 170 0
83730481 Djohnnie C June 14, 2020, 8:33 a.m. OK Q# TESTS 1 170 0

remove filters

Back to search problems