repeatTensor {QuantumOps}R Documentation

repeatTensor

Description

Repeatedly tensors the input with itself

Usage

repeatTensor(g,n)

Arguments

g

Object, typically a gate, that is to be tensored with itself

n

Number of times to tensor g with itself

Value

The input g tensored by itself n times

Examples

 repeatTensor(X(),2)
 repeatTensor(X(),2)

[Package QuantumOps version 3.0.1 Index]