{"action":"created","issue":{"url":"https://api.github.com/repos/issp-center-dev/HPhi/issues/45","repository_url":"https://api.github.com/repos/issp-center-dev/HPhi","labels_url":"https://api.github.com/repos/issp-center-dev/HPhi/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/issp-center-dev/HPhi/issues/45/comments","events_url":"https://api.github.com/repos/issp-center-dev/HPhi/issues/45/events","html_url":"https://github.com/issp-center-dev/HPhi/issues/45","id":340562244,"node_id":"MDU6SXNzdWUzNDA1NjIyNDQ=","number":45,"title":"Staggered Potential","user":{"login":"rp092","id":38993526,"node_id":"MDQ6VXNlcjM4OTkzNTI2","avatar_url":"https://avatars3.githubusercontent.com/u/38993526?v=4","gravatar_id":"","url":"https://api.github.com/users/rp092","html_url":"https://github.com/rp092","followers_url":"https://api.github.com/users/rp092/followers","following_url":"https://api.github.com/users/rp092/following{/other_user}","gists_url":"https://api.github.com/users/rp092/gists{/gist_id}","starred_url":"https://api.github.com/users/rp092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rp092/subscriptions","organizations_url":"https://api.github.com/users/rp092/orgs","repos_url":"https://api.github.com/users/rp092/repos","events_url":"https://api.github.com/users/rp092/events{/privacy}","received_events_url":"https://api.github.com/users/rp092/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T09:37:53Z","updated_at":"2018-07-12T23:46:11Z","closed_at":null,"author_association":"NONE","body":"Good Evening to everyone.\r\nThis is the SPINLESS Hamiltonian that I would like to simulate:\r\n\r\nH = Δ Σ_ j (-1)^j c*_ j c_ j - t Σ_ j (c*_ j+1 c_ j + H.c) + V Σ_ j n_ j n_ j+1 \r\n\r\nwhere * means dagger. As you can see the first term is equivalent to a staggered potential that lifts or lowers the energy of site j depending on its value (odd or even). In _expert mode_ it is possible to modify the _trans.def_ file which contains the value of the transfer integrals. Is it possible to integrate in that file the value Δ for i = j sites o does it exist a better choice?\r\n\r\nThanks for the attention\r\n\r\nRiccardo Piombo."},"comment":{"url":"https://api.github.com/repos/issp-center-dev/HPhi/issues/comments/404684090","html_url":"https://github.com/issp-center-dev/HPhi/issues/45#issuecomment-404684090","issue_url":"https://api.github.com/repos/issp-center-dev/HPhi/issues/45","id":404684090,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDY4NDA5MA==","user":{"login":"k-yoshimi","id":4516893,"node_id":"MDQ6VXNlcjQ1MTY4OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/4516893?v=4","gravatar_id":"","url":"https://api.github.com/users/k-yoshimi","html_url":"https://github.com/k-yoshimi","followers_url":"https://api.github.com/users/k-yoshimi/followers","following_url":"https://api.github.com/users/k-yoshimi/following{/other_user}","gists_url":"https://api.github.com/users/k-yoshimi/gists{/gist_id}","starred_url":"https://api.github.com/users/k-yoshimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k-yoshimi/subscriptions","organizations_url":"https://api.github.com/users/k-yoshimi/orgs","repos_url":"https://api.github.com/users/k-yoshimi/repos","events_url":"https://api.github.com/users/k-yoshimi/events{/privacy}","received_events_url":"https://api.github.com/users/k-yoshimi/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T23:46:11Z","updated_at":"2018-07-12T23:46:11Z","author_association":"CONTRIBUTOR","body":"Hi @rp092 \r\nThere used to be a file that defines chemical potential, but now there is no longer. \r\nSo, to add staggered potential, please use ` trans.def` file as you described.\r\nFor example, the one-body potential can be added as follows \r\n(here, it is assumed that the system is fully saturated):\r\n```\r\n1 0 1 0 1.0\r\n2 0 2 0 -1.0\r\n3 0 3 0 1.0\r\n4 0 4 0 -1.0\r\n...\r\n```\r\nDo not forget to change the total number of transfer integrals defined at 2nd line in `Trans` file.\r\n\r\nBest regards,\r\nKazuyoshi Yoshimi\r\n"}}
{"actor":{"display_login":"k-yoshimi"}}