Learn R Programming

qsimulatR (version 1.1.1)

*,cqgate,qstate-method: times-cqgate-qstate

Description

Applies a controlled single qubit gate to a quantum state.

Usage

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

Value

An object of S4 class 'qstate'

Arguments

e1

object of S4 class 'cqgate'

e2

object of S4 class 'qstate'