microsoft/qdk

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/replace-qsharp-with-qdk-python-tests

Branches

Tags

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

Clone

HTTPS

Download ZIP

katas/content/linear_algebra/outer_product/Solution.qs

10lines · modecode

1namespace Kata {
2 import Std.Math.*;
3
4 function OuterProduct() : Complex[][] {
5 return [
6 [Complex(-27., 0.), Complex(0., -6.)],
7 [Complex(0., -81.), Complex(18., 0.)]
8 ];
9 }
10}