Documentation ¶
Index ¶
- func Eps(eps ...float64) float64
- type Matrix
- func (m0 Matrix) Add(m1 Matrix) Matrix
- func (m0 Matrix) Apply(m1 Matrix) Matrix
- func (m0 Matrix) Clone() Matrix
- func (m0 Matrix) Conjugate() Matrix
- func (m0 Matrix) Dagger() Matrix
- func (m0 Matrix) Dimension() (int, int)
- func (m0 Matrix) Equals(m1 Matrix, eps ...float64) bool
- func (m0 Matrix) Inverse() Matrix
- func (m0 Matrix) IsHermite(eps ...float64) bool
- func (m0 Matrix) IsUnitary(eps ...float64) bool
- func (m0 Matrix) Mul(z complex128) Matrix
- func (m0 Matrix) Sub(m1 Matrix) Matrix
- func (m0 Matrix) TensorProduct(m1 Matrix) Matrix
- func (m0 Matrix) Trace() complex128
- func (m0 Matrix) Transpose() Matrix
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Matrix ¶
type Matrix [][]complex128
func AntiCommutator ¶
func Commutator ¶
func New ¶
func New(v ...[]complex128) Matrix
func TensorProduct ¶
func TensorProductN ¶
func (Matrix) Mul ¶
func (m0 Matrix) Mul(z complex128) Matrix
func (Matrix) TensorProduct ¶
func (Matrix) Trace ¶
func (m0 Matrix) Trace() complex128
Click to show internal directories.
Click to hide internal directories.