Y: Y

Description Usage Arguments Value Examples

View source: R/Y.R

Description

If no argument is supplied, returns the matrix of the Y gate. If ket given as input, applies a Y gate to the input ket and return the resulting ket

Usage

1
Y(...)

Arguments

...

No argument, or ket (column vector) that is input to the gate

Value

Matrix of the Y gate or ket after a Y gate is applied

Examples

1
2
 Y(ket(1,0))
 Y()

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.

Related to Y in QuantumOps...