Notepad/enter/Machine Tips (Quantum)/Code & Circuit Operations/Gates/Single Qubit Gates/Z Gate.md

7 lines
46 B
Markdown

```
qc.z(2)
#applies Z gate to qubit 2
```