times-swapgate-qstate-method: times-swapgate-qstate

Description Usage Arguments Value

Description

Applies a SWAP gate to a quantum state.

Usage

1
2
## S4 method for signature 'swapgate,qstate'
e1 * e2

Arguments

e1

object of S4 class 'swapgate'

e2

object of S4 class 'qstate'

Value

An object of S4 class 'qstate'


qsimulatR documentation built on Jan. 13, 2021, 3:13 p.m.