Qaqarot / qaqarot

Quantum Computer Library for Everyone
Apache License 2.0
371 stars 53 forks source link

global var declared but not using #127

Closed FrankFeenix closed 3 years ago

gyu-don commented 3 years ago

Sorry for the late reply. It's Python's specifications.

def foo():
    import sys

foo()
sys # <- NameError occurs.

So, global vars are used.

I implement this code because

However, using many global vars is not a good implementation :( Thanks.