Loading [MathJax]/jax/output/HTML-CSS/jax.js

qml.math.sqrt_matrix

sqrt_matrix(density_matrix)[source]

Compute the square root matrix of a density matrix where ρ=ρ×ρ

Parameters

density_matrix (tensor_like) – 2D or 3D (with batching) density matrix of the quantum system.

Returns

Square root of the density matrix.

Return type

(tensor_like)

Contents

Using PennyLane

Release news

Development

API

Internals