Notepad/enter/Machine Tips (Quantum)/Resources/Code & Circuit Operations/Gates/Single Qubit Gates/P gate (Phase).md

5 lines
80 B
Markdown
Raw Permalink Normal View History

2023-07-05 18:29:11 +00:00
```
qc.p(math.pi/2,0)
#applies P gate to pi/2 phase roation to qubit 0.
```