*,ccnotgate,qstate-method {qsimulatR} | R Documentation |
times-ccnotgate-qstate
Description
Applies a CCNOT (or toffoli) gate to a quantum state.
Usage
## S4 method for signature 'ccnotgate,qstate'
e1 * e2
Arguments
e1 |
object of S4 class 'ccnotgate' |
e2 |
object of S4 class 'qstate' |
Value
An object of S4 class 'qstate'
[Package qsimulatR version 1.1.1 Index]