microsoft/qdk

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
amcasey/ArrayWrap

Branches

Tags

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

Clone

HTTPS

Download ZIP

katas/content/linear_algebra/inner_product/solution.md

17lines · modepreview

$$\langle V, W \rangle = V^\dagger W = 
\begin{bmatrix}
    -6 \\
    9i
\end{bmatrix}^\dagger
\begin{bmatrix}
    3 \\
    -8
\end{bmatrix} =
\begin{bmatrix} -6 & -9i \end{bmatrix}
\begin{bmatrix}
    3 \\
    -8
\end{bmatrix}
= (-6) \cdot 3 + (-9i) \cdot (-8) = -18 + 72i$$

@[solution]({"id": "linear_algebra__inner_product_solution", "codePath": "Solution.qs"})