# pull request on Github

**URL:** <https://itensor.discourse.group/t/pull-request-on-github/334>\
**Category:** ITensor Development\
**Created:** [August 12, 2022, 7:34pm UTC](https://itensor.discourse.group/t/pull-request-on-github/334 "2022-08-12T19:34:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MaxSilvester](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@MaxSilvester](https://itensor.discourse.group/u/MaxSilvester)\
**Post date:** [August 12, 2022, 7:34pm UTC](https://itensor.discourse.group/t/pull-request-on-github/334/1 "2022-08-12T19:34:46Z")

</div>

My research advisor, Steve White, has suggested that my code for computing the two-site variance be added to the ITensors.jl package.

The two-site variance ([https://arxiv.org/pdf/1711.01104.pdf](https://arxiv.org/pdf/1711.01104.pdf)) as proposed by Schollwöck et. al. is a much less computationally intensive alternative to computing the full variance of a state.

I am wondering how to go about submitting this code. Thank you for the help.

---

<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:** [August 12, 2022, 9:04pm UTC](https://itensor.discourse.group/t/pull-request-on-github/334/2 "2022-08-12T21:04:25Z")

</div>

Hi Max, that sounds like a nice thing to make available!

You should be able to follow the instructions here: [Advanced usage guide · ITensors.jl](https://itensor.github.io/ITensors.jl/stable/AdvancedUsageGuide.html#Developing-ITensors.jl) to make a pull request, please let us know if you have any questions about it.

---

<div class="post-metadata">

**Author:** ![corbett5](https://yyz2.discourse-cdn.com/free1/user_avatar/itensor.discourse.group/corbett5/32/886_2.png) [@corbett5](https://itensor.discourse.group/u/corbett5)\
**Post date:** [August 30, 2024, 5:27pm UTC](https://itensor.discourse.group/t/pull-request-on-github/334/3 "2024-08-30T17:27:11Z")

</div>

@MaxSilvester did you ever create a PR? If not is your code available anywhere? I am very interested in trying it out.

Edit: I just came across your paper [https://arxiv.org/pdf/2408.13616](https://arxiv.org/pdf/2408.13616) I’m going to try that out!
