Microsoft.Quantum.Extensions.Convert

Functions

PauliArrayToInt

Encodes a multi-qubit Pauli operator represented as an array of single-qubit Pauli operators into an integer.

ToDouble

Converts a given integer to an equivalent double-precision floating-point number.

ToStringB

Converts a given boolean value to an equivalent string representation.

ToStringD

Converts a given double-precision floating-point number to an equivalent string representation.

ToStringDFormat

Converts a given double-precision floating-point number to an equivalent string representation, using the given format.

ToStringI

Converts a given integer number to an equivalent string representation.

ToStringIFormat

Converts a given integer number to an equivalent string representation, using the given format.