Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def X(qubit):
"""
`QPanda Basic API` \n
Create an X gate \n
Qubit -> QGate
"""
return pyQPanda.X(qubit)
def NOT(qubit):
"""
`QPanda Basic API` \n
Create an X gate \n
Qubit -> QGate
"""
return pyQPanda.X(qubit)