Learn R Programming

qsimulatR (version 1.1.1)

*,sqgate,qstate-method: times-sqgate-qstate

Description

Applies a single qubit gate to a quantum state.

Usage

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

Value

An object of S4 class 'qstate'

Arguments

e1

object of S4 class 'sqgate'

e2

object of S4 class 'qstate'