from pathlib import Path
from qdk import qsharp

# Import the Q# code from the teleport.qs file
code = (Path(__file__).parent / "sample.qs").read_text(encoding="utf-8")
qsharp.eval(code)

# Directly invoke the Main operation defined in the loaded file
print(qsharp.code.Main())
