1

I was wondering how one would go about using Q# within Unity. I want to endow agents within a Unity simulation with quantum-like behavior, and I was wondering whether it was possible.

I've seen reference to adding a managed .dll in \Assets\Plugins and adding "using yourLibraryNameSpace;" at the top of scripts, but I'm not exactly sure whether/how that would work with the Microsoft Quantum Development Kit. I've attached some potentially related posts below for reference. Any information would be greatly appreciated. Thanks so much.

d4d3bru
  • 11
  • 1
  • My guess at the easiest way would probably be to download the repository, build it into a DLL, and then load the DLL into Unity using the information from that second linked question. – Abion47 Feb 03 '21 at 22:51

1 Answers1

0

Someone pinged me about this on Twitter, so I figured I'd put out the quick-and-dirty prototype I put together last year: https://github.com/amirebrahimi/qsharp-unity