# The issue of Unicode character input in Julia

**URL:** <https://itensor.discourse.group/t/the-issue-of-unicode-character-input-in-julia/1370>\
**Category:** ITensor Julia Questions\
**Created:** [December 19, 2023, 7:33am UTC](https://itensor.discourse.group/t/the-issue-of-unicode-character-input-in-julia/1370 "2023-12-19T07:33:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzHan](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jzHan](https://itensor.discourse.group/u/jzHan)\
**Post date:** [December 19, 2023, 7:33am UTC](https://itensor.discourse.group/t/the-issue-of-unicode-character-input-in-julia/1370/1 "2023-12-19T07:33:58Z")

</div>

Hello all,  
I am learning the example program in [ITensorTDVP.jl](https://github.com/ITensor/ITensorTDVP.jl/blob/main/examples/02_dmrg-x.jl). When I read this program, I found that the wave functions in the program are written in a format called Unicode character like \psi or \phi.

```julia
ψ = MPS(s, initstate)
dmrg_x_kwargs = (
  nsweeps=10, reverse_step=false, normalize=true, maxdim=20, cutoff=1e-10, outputlevel=1
)
ϕ = dmrg_x(H, ψ; dmrg_x_kwargs...)

```

This naming method is very concise and clear, so I plan to do the same. But after multiple attempts, I was not successful.  
So I would like to ask how I can quickly and easily use a similar method to name variables. I am using Jupyter Notebook.  
Thank you for your time.

---

<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:** [December 19, 2023, 12:29pm UTC](https://itensor.discourse.group/t/the-issue-of-unicode-character-input-in-julia/1370/2 "2023-12-19T12:29:24Z")

</div>

In general you would type something like `\psi` followed by pressing the “tab” key on your keyboard. That’s the case for most editors (as long as you have the Julia plugin installed for the editor you are using), I assume it is the same for Jupyter notebooks.

---

<div class="post-metadata">

**Author:** ![jzHan](https://avatars.discourse-cdn.com/v4/letter/j/45deac/32.png) [@jzHan](https://itensor.discourse.group/u/jzHan)\
**Post date:** [December 20, 2023, 1:47am UTC](https://itensor.discourse.group/t/the-issue-of-unicode-character-input-in-julia/1370/3 "2023-12-20T01:47:18Z")

</div>

Thank you very much, Matt.  
Based on your suggestion, I quickly implemented this feature.
