I {QuantumOps}R Documentation

I

Description

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

Usage

I(...)

Arguments

...

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

Value

Matix of the I gate or ket after an I gate is applied

Examples

 I(ket(1,0))
 I()

[Package QuantumOps version 3.0.1 Index]