Learn R Programming

qsimulatR (version 1.1.1)

*,cnqgate,qstate-method: times-cnqgate-qstate

Description

Applies n-fold controlled single qubit gate to a quantum state.

Usage

# S4 method for cnqgate,qstate
*(e1, e2)

Value

An object of S4 class 'qstate'

Arguments

e1

object of S4 class 'cnqgate'

e2

object of S4 class 'qstate'