conjugate_transpose {qvirus} | R Documentation |
Calculate the Conjugate Transpose of a Quantum State
Description
This function calculates the conjugate transpose of a given quantum state represented by a qstate object.
Usage
conjugate_transpose(state)
Arguments
state |
A qstate object for which the conjugate transpose is to be calculated. |
Value
The conjugate transpose of the input quantum state.
Examples
library(qsimulatR)
library(qvirus)
# Calculate the conjugate transpose of ket0
state <- six_state(1)[[1]]
conjugate_transpose(state)
[Package qvirus version 0.0.2 Index]