Recent actions

Could you explain, or at least point me to a reference material, how to perform rotations in the 2-qubit space using only single-qubit rotations? Even if I ignore phase and treat it as a 4-D space with the computational basis, I can't grasp what the single-qubit rotations would do (a rotation around a hyperplane? Which one? How does it help me if I can't visualize 4-D?), much less how to combine them to get to a desired state.

Created or updated the text

Aha this is cool! thank you!

We have published the tasks together with the testing harnesses, "coding kata"-style, here. The implementation is slightly different from the tester code used on Codeforces, since the katas use unit tests and Codeforces uses executables, but the core of the checks is the same.

The katas have some tasks not included in the contest, and we plan to add more over time. If you feel like you need more quantum computing programming exercises, take a look :-)

Yes. The measurement you want to do in Q# is actually four-valued (you need to use at least one ancilla, and measure at least two qubits), but if you pick the rotation correctly then one of the results will have probability zero of occurring.

This is not really a requirement though: you could just as easily have two possible measurement results that each return -1, if you're less careful with your rotation, which will still give the same success rate.

I think Pcorrect in solution of C1 is:

instead of

because both two states have possibility to be given.

Created or updated the text
Created or updated the text