# How to calculate onsite observerbles more efficiently?

**URL:** <https://itensor.discourse.group/t/how-to-calculate-onsite-observerbles-more-efficiently/1806>\
**Category:** ITensor Julia Questions\
**Tags:** julia, dmrg\
**Created:** [June 15, 2024, 6:33am UTC](https://itensor.discourse.group/t/how-to-calculate-onsite-observerbles-more-efficiently/1806 "2024-06-15T06:33:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mtfishman](https://yyz2.discourse-cdn.com/free1/user_avatar/itensor.discourse.group/mtfishman/32/11_2.png) [@mtfishman](https://itensor.discourse.group/u/mtfishman)\
**Post date:** [June 15, 2024, 12:23pm UTC](https://itensor.discourse.group/t/how-to-calculate-onsite-observerbles-more-efficiently/1806/2 "2024-06-15T12:23:24Z")

</div>

Can you share a fully runnable minimal example that reproduces the issue you are seeing, along with the full error message (as instructed in [Please Read: Make It Easier to Help You](https://itensor.discourse.group/t/please-read-make-it-easier-to-help-you/7))? Additionally, can you update to the the latest version of ITensors.jl (v0.6.13) and try on that version?

---

_[View the full topic](https://itensor.discourse.group/t/how-to-calculate-onsite-observerbles-more-efficiently/1806)._
