ygate: Ygate

View source: R/ygate.R

ygateR Documentation

Ygate

Description

PauliY gate for a circuit

Usage

ygate(qubit)

Examples

# to apply an Y gate to the first qubit of a circuit called qc

qc$q_1<-PauliY(qc$q_1)


abrosechapel/QuantuR documentation built on March 24, 2022, 8 p.m.