opDM {QuantumOps}R Documentation

opDM

Description

Applies a quantum operation to a density matrix

Usage

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

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

[Package QuantumOps version 3.0.1 Index]