Learn R Programming

QuantumOps (version 3.0.1)

opDM: 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

Run this code
# NOT RUN {
 opDM( V=convert_ket2DM(ket(1,0)) , G=X()  )
# }

Run the code above in your browser using DataLab