powered by
Repeatedly tensors the input with itself
repeatTensor(g,n)
Object, typically a gate, that is to be tensored with itself
Number of times to tensor g with itself
The input g tensored by itself n times
# NOT RUN { repeatTensor(X(),2) repeatTensor(X(),2) # }
Run the code above in your browser using DataLab