vanilla command-line C# code

balewski

New member
Joined
Aug 25, 2023
Messages
2
Programming Experience
5-10
Hi,
I'd like to execute this Grover search example algorithm:
on a plain linux OS without any graphics interface, no Visual studio, no Jupyter notebook, no Windows, no Azure instance on a cloud - just scripted execution form a command line on my laptop inside a Docker image - the same way I can run Qiskit or Tket code.

I have successfully deployed Docker image provided by
FROM mcr.microsoft.com/dotnet/sdk:7.0

What would be my steps to run the Grover code listed here:

I'm hoping for instruction which would tell me:
- how should I name the file in which I save the code
- what command to run to execute

Any help would be welcome
Thanks
Jan
 
The code there is in Q#. This is a C# forum.

Anyway, it seems like this overview has specific links on how to use VS Code:
You might be able to derive from that how to do everything via command line since using VSCode tends to hide a lot less of the magic that Visual Studio does.
 
Last edited:
The code there is in Q#. This is a C# forum.

Anyway, it seems like this overview has specific links on how to use VS Code:
You might be able to derive from that how to do everything via command line since using VSCode tends to hide a lot less of the magic that Visual Studio does.

Thanks Skydiver - I apologize for the noise - I'm new to this area of computing
 

Latest posts

Back
Top Bottom