xgate | R Documentation |
PauliX gate for a circuit
xgate(qubit)
# to apply an X gate to the first qubit of a circuit called qc qc$q_1<-PauliX(qc$q_1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.