# Completely Different Results when running ADAPT-VQE tutorial

**URL:** <https://discuss.pennylane.ai/t/completely-different-results-when-running-adapt-vqe-tutorial/1683>\
**Category:** PennyLane Help\
**Created:** [February 20, 2022, 6:46pm UTC](https://discuss.pennylane.ai/t/completely-different-results-when-running-adapt-vqe-tutorial/1683 "2022-02-20T18:46:06Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![josh](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/josh/32/100_2.png) [@josh](https://discuss.pennylane.ai/u/josh)\
**Post date:** [February 22, 2022, 6:59am UTC](https://discuss.pennylane.ai/t/completely-different-results-when-running-adapt-vqe-tutorial/1683/4 "2022-02-22T06:59:32Z")

</div>

@Hatedfate that is really strange 🤔

The reason I originally suggested upgrading your PennyLane version is that there was a known bug in v0.20 of PennyLane that was causing the Adapt-VQE demo to give the incorrect results — the _same_ incorrect results you posted above.

A bugfix in v0.21 fixed this, and reverted the Adapt-VQE demo to give the correct results.

Could it be that your Jupyter notebook kernel is using a virtual environment that has PL v0.20 installed, whereas PyCharm is using an environment with PL v0.21?

---

_[View the full topic](https://discuss.pennylane.ai/t/completely-different-results-when-running-adapt-vqe-tutorial/1683)._
