Main function cannot be callable

hyunji kim 65 Reputation points
2023-12-29T05:49:05.62+00:00

User's image

I want to call Main() function, but this error occurs..

My environment : Azure Quantum (Jupyter notebook)

  • "features": [ "DEFAULT" ]
  • "name": "Microsoft.Quantum.QdkSimRs"
  • "opt_level": "3"
  • "target": "x86_64-unknown-linux-gnu"
  • "version": "0.28.302313"

Plz help me ..!!

Azure Quantum
Azure Quantum
An Azure service that provides quantum computing and optimization solutions.
60 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vahid Ghafarpour 18,210 Reputation points
    2023-12-30T05:33:52.69+00:00

    Thanks for posting your question in the Microsoft Q&A forum.
    I think you can call the Main function using %simulate:

    %simulate Main
    

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful