microsoft/qdk

Public

mirrored fromhttps://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_complex/Solution.qs

8lines · modecode

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