Learn R Programming

qsimulatR (version 1.1.1)

*,matrix,qstate-method: times-matrix-qstate

Description

Applies a single qubit gate to a quantum state.

Usage

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

Value

An object of S4 class 'qstate'

Arguments

e1

object of S4 class 'matrix'

e2

object of S4 class 'qstate'