Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.12 KB

supported-macros.md

File metadata and controls

28 lines (25 loc) · 1.12 KB
title description author ms.author ms.date ms.topic uid no-loc
Supported LaTeX macros for authoring
List of all supported LaTeX macros for formulas used in the Microsoft Quantum Development Kit documentation.
bradben
brbenefield
11/11/2024
concept-article
microsoft.quantum.contribute.macros
Q#
$$v
Quantum Development Kit

Supported Macros

Macro Name Syntax Results
ket \ket{\psi} $\ket{\psi}$
bra \bra{\phi} $\bra{\phi}$
braket \braket{\phi|\psi} $\braket{\phi|\psi}$
id \id $\id$
boldone \boldone $\mathbf{1}$
expect \expect $\expect$
variance \variance (x) $\variance (x)$
  • All function (API)
  • Math new API
  • Workspace Python class (azure-quantum)
  • Pauli Python function (qsharp)