microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.2.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

katas/content/getting_started/flip_qubit/solution.md

8lines · modecode

1Once you have successfully implemented a solution or if you are stuck on a problem, you can consult our reference solution, which contains additional details on how to solve the exercise.
2
3For this exercise, you can solve the problem by simply using Q#'s `X` operation on the input qubit, which will perform a "bit flip" and set the qubit into the $|1\rangle$ state.
4
5@[solution]({
6 "id": "getting_started__flip_qubit_solution",
7 "codePath": "./Solution.qs"
8})
9