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

*,swapgate,qstate-methodR Documentation

times-swapgate-qstate

Description

Applies a SWAP gate to a quantum state.

Usage

## 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 Oct. 16, 2023, 5:06 p.m.