Learn R Programming

QuantumOps (version 3.0.1)

repeatTensor: 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

Run this code
# NOT RUN {
 repeatTensor(X(),2)
 repeatTensor(X(),2)
# }

Run the code above in your browser using DataLab