Learn R Programming

qsimulatR (version 1.1.1)

*,complex,qstate-method: times-number-qstate

Description

Multiplies a quantum gate by a global (phase) factor.

Usage

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

Value

An object of S4 class 'qstate'

Arguments

e1

object of S4 class 'complex'

e2

object of S4 class 'qstate'