# Issue with Majorana Wavefunction Calculation in a Topological Superconducting System

**URL:** <https://itensor.discourse.group/t/issue-with-majorana-wavefunction-calculation-in-a-topological-superconducting-system/2214>\
**Category:** DMRG and Numerical Methods\
**Tags:** mps\
**Created:** [January 27, 2025, 5:59pm UTC](https://itensor.discourse.group/t/issue-with-majorana-wavefunction-calculation-in-a-topological-superconducting-system/2214 "2025-01-27T17:59:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ryanlevy](https://yyz2.discourse-cdn.com/free1/user_avatar/itensor.discourse.group/ryanlevy/32/150_2.png) [@ryanlevy](https://itensor.discourse.group/u/ryanlevy)\
**Post date:** [January 27, 2025, 7:29pm UTC](https://itensor.discourse.group/t/issue-with-majorana-wavefunction-calculation-in-a-topological-superconducting-system/2214/2 "2025-01-27T19:29:35Z")

</div>

Without looking too closely, I suspect it’s the lack of Jordan-Wigner strings. For an in depth discussion see

> [@Fermion site-type operator \`c\`: \`inner()\` indicates \`c\` on different sites commute](https://itensor.discourse.group/t/fermion-site-type-operator-c-inner-indicates-c-on-different-sites-commute/1851/2):
>
> You should assume that odd numbers of fermion operators will need their strings handled manually (OpSum doesn’t support this yet). Another important thing to note, once you write c1 = op("c", ss[1]), then c1 is an ITensor and has no knowledge of being fermionic as it has no QNs. The strings are handled at an operator level, so OpSum and some of correlation\_matrix can insert JW strings. See the discussion here for some more: [Proper way to construct fermion gates](https://itensor.discourse.group/t/proper-way-to-construct-fermion-gates/172)

You should try inserting `F` operators, see more [here](https://itensor.org/docs.cgi?page=tutorials/fermions)

---

_[View the full topic](https://itensor.discourse.group/t/issue-with-majorana-wavefunction-calculation-in-a-topological-superconducting-system/2214)._
