microsoft/qdk

Public

mirrored from https://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
alex/second-api-refactor

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

katas/content/multi_qubit_systems/prepare_with_real/Solution.qs

7lines · modecode

1namespace Kata {
2 operation PrepareWithReal(qs : Qubit[]) : Unit is Adj + Ctl {
3 H(qs[0]);
4 X(qs[1]);
5 H(qs[1]);
6 }
7}