{"action":"created","issue":{"url":"https://api.github.com/repos/weinbe58/QuSpin/issues/106","repository_url":"https://api.github.com/repos/weinbe58/QuSpin","labels_url":"https://api.github.com/repos/weinbe58/QuSpin/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/weinbe58/QuSpin/issues/106/comments","events_url":"https://api.github.com/repos/weinbe58/QuSpin/issues/106/events","html_url":"https://github.com/weinbe58/QuSpin/issues/106","id":316546867,"number":106,"title":"Pipe symbol in operator string notation for tensoring two spinful_fermion_basis objects","user":{"login":"mgbukov","id":13576710,"avatar_url":"https://avatars3.githubusercontent.com/u/13576710?v=4","gravatar_id":"","url":"https://api.github.com/users/mgbukov","html_url":"https://github.com/mgbukov","followers_url":"https://api.github.com/users/mgbukov/followers","following_url":"https://api.github.com/users/mgbukov/following{/other_user}","gists_url":"https://api.github.com/users/mgbukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgbukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgbukov/subscriptions","organizations_url":"https://api.github.com/users/mgbukov/orgs","repos_url":"https://api.github.com/users/mgbukov/repos","events_url":"https://api.github.com/users/mgbukov/events{/privacy}","received_events_url":"https://api.github.com/users/mgbukov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-22T04:01:09Z","updated_at":"2018-04-23T22:00:00Z","closed_at":null,"author_association":"COLLABORATOR","body":"Suppose I want to create two copies of the Fermi-Hubbard model and tensor them together. How should the \"|\" symbols be distributed in the operator strings in this case? \r\n\r\nThe confusion stems from the \"|\" symbol being used both for the spinful fermions and the tensor bases objects. "},"comment":{"url":"https://api.github.com/repos/weinbe58/QuSpin/issues/comments/383736816","html_url":"https://github.com/weinbe58/QuSpin/issues/106#issuecomment-383736816","issue_url":"https://api.github.com/repos/weinbe58/QuSpin/issues/106","id":383736816,"user":{"login":"mgbukov","id":13576710,"avatar_url":"https://avatars3.githubusercontent.com/u/13576710?v=4","gravatar_id":"","url":"https://api.github.com/users/mgbukov","html_url":"https://github.com/mgbukov","followers_url":"https://api.github.com/users/mgbukov/followers","following_url":"https://api.github.com/users/mgbukov/following{/other_user}","gists_url":"https://api.github.com/users/mgbukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgbukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgbukov/subscriptions","organizations_url":"https://api.github.com/users/mgbukov/orgs","repos_url":"https://api.github.com/users/mgbukov/repos","events_url":"https://api.github.com/users/mgbukov/events{/privacy}","received_events_url":"https://api.github.com/users/mgbukov/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T21:59:59Z","updated_at":"2018-04-23T21:59:59Z","author_association":"COLLABORATOR","body":"I see, so u do wanna keep the double pipe. Looks like a good option to me :)\n\nOn Mon, Apr 23, 2018 at 2:22 PM, Phillip Weinberg <notifications@github.com>\nwrote:\n\n> not quite its more like if we have a spinful fermion tensored with a\n> spinless fermion the code would check the number of pipes which would be 1\n> for the spinful fermion and 0 for spinless fermions and this would mean\n> that the tensor basis would pick 2 pipes to distinguish the two sides of\n> the tensor.\n>\n> (spin up opstr)|(spin down opstr)||(spinless opstr)\n>\n> the tensor basis ignores the single pipes and passes those opstrs into the\n> spinful fermion basis. Then you can build off of this if you took this\n> basis and tensored it with another basis then the resulting basis would\n> then have to use 3 pipes which it will use to distinguish its tensoring and\n> pass the two operator strings down and so on. However, maybe it makes sense\n> to restrict the from going beyond 2 pipes since you can tensor an arbitrary\n> number of basis objects together.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/weinbe58/QuSpin/issues/106#issuecomment-383727598>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AM8qBl5bETo2onmrzhH9vSCeC_zIVfyfks5trkYbgaJpZM4Tet6N>\n> .\n>\n\n\n\n-- \nMarin Bukov, PhD\nGordon and Betty Moore postdoctoral fellow,\nDept. of Physics\nUniversity of California, Berkeley\n366 LeConte Hall MC 7300,\nBerkeley, CA 94720-7300\n\nurl: https://mgbukov.github.io/\n"}}
{"actor":{"display_login":"mgbukov"}}