[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 15 KB, 1227x156, Untitledd.png [View same] [iqdb] [saucenao] [google]
15471281 No.15471281 [Reply] [Original]

I'm trying to run some IQ# code in a Python environment. I don't get it why it's not working. I have qsharp installed, Microsoft Quantum extensions installed in VSCode.

>> No.15471358

>VSCode
ngmi

>> No.15471392

>>15471281
start over and follow the instructions
>>15471358
whats better than vscode?

>> No.15471403
File: 27 KB, 765x511, Untitled1111.png [View same] [iqdb] [saucenao] [google]
15471403

>>15471392
The instructions are "install qsharp extension", which I did. I can get IQ# code to run, just not from within a Python environment. If I import it into Python it doesn't run. GenerateRandomBit is my IQ# function.

>> No.15471404

>>15471281
why are you posting this here and not >>>/g/? fuck off.

>> No.15471406

>>15471404
Quantum computing doesn't have any practical applications. Why doesn't it belong here?

>> No.15471419

Actually. I got it work by running it in a conda environment. I don't know why it wasn't running in VSCode. Damnit.

But I have it working.

>> No.15471426

>>15471281
You are mentally disabled if you use Python.