---
title: Diagonal Operators
description: "**This tutorial is under construction - check back soon!** - [createDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#gaebf896dd8d5eeaf9fd896f6cc8e334fe) - [createDiagonalOpFromPauliHamilFile](https://quest-kit.github.io/QuEST/group__type.html#gaa86572b44755646858d6b0292d53cc15) - [initDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#ga12a6c59ebbfba8bdb9453a4138027d46) - [initDiagonalOpFromPauliHamil](https://quest-kit.github.io/QuEST/group__type.html#ga2ecd67e0de9efcbbe37afbad28a8ffad) - [destroyDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#ga2c59f45fab56708f687b4104ee99bcd1) - [setDiagonalOpElems](https://quest-kit.github.io/QuEST/group__type.html#gafabb15a6c1cf49f8ecb67e1f35c77c1e) - [syncDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#gab75d5cdc622d2778bad24e3a8130aab9) - [calcExpecDiagonalOp](https://quest-kit.github.io/QuEST/group__calc.html#ga82f17e96a4cb7612fb9c6ef856df3810) - [applyDiagonalOp](https://quest-kit.github.io/QuEST/group__operator.html#gad2e953390342cd361cfb4064d47715e6)"
url: "https://quest.qtechtheory.org/docs/diagonal-operators/"
updated: "2021-10-27"
category: Tutorials
---

# Diagonal Operators

**This tutorial is under construction - check back soon!**

- [createDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#gaebf896dd8d5eeaf9fd896f6cc8e334fe)
- [createDiagonalOpFromPauliHamilFile](https://quest-kit.github.io/QuEST/group__type.html#gaa86572b44755646858d6b0292d53cc15)
- [initDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#ga12a6c59ebbfba8bdb9453a4138027d46)
- [initDiagonalOpFromPauliHamil](https://quest-kit.github.io/QuEST/group__type.html#ga2ecd67e0de9efcbbe37afbad28a8ffad)
- [destroyDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#ga2c59f45fab56708f687b4104ee99bcd1)

- [setDiagonalOpElems](https://quest-kit.github.io/QuEST/group__type.html#gafabb15a6c1cf49f8ecb67e1f35c77c1e)
- [syncDiagonalOp](https://quest-kit.github.io/QuEST/group__type.html#gab75d5cdc622d2778bad24e3a8130aab9)

- [calcExpecDiagonalOp](https://quest-kit.github.io/QuEST/group__calc.html#ga82f17e96a4cb7612fb9c6ef856df3810)

- [applyDiagonalOp](https://quest-kit.github.io/QuEST/group__operator.html#gad2e953390342cd361cfb4064d47715e6)
