opDM: opDM

Description Usage Arguments Value Examples

View source: R/opDM.R

Description

Applies a quantum operation to a density matrix

Usage

1
opDM(V,G)

Arguments

V

Input density matrix

G

Quantum operation to apply to density matrix

Value

A density matrix which has been modofied by the input quantum operation

Examples

1
 opDM( V=convert_ket2DM(ket(1,0)) , G=X()  )

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.

Related to opDM in QuantumOps...