Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\otimes+TAB in PyJulia #108

Closed
DiegoGM91 opened this issue Mar 21, 2024 · 4 comments · Fixed by #109
Closed

\otimes+TAB in PyJulia #108

DiegoGM91 opened this issue Mar 21, 2024 · 4 comments · Fixed by #109

Comments

@DiegoGM91
Copy link

Hi,

I am using PyJulia to call Julia code from Python 3, and I have found an issue when trying to type the tensor product. Namely, \otimes+TAB doesn't work, neither it does copy pasting from Julia (both things tried on terminal on an Ubuntu machine). Is there any solution for this?

I found this in the PyJulia documentation suggesting that it might not be possible, but a workaround would be highly appreciated.

Thanks!

@lkdvos
Copy link
Collaborator

lkdvos commented Mar 21, 2024

Hi Diego,
I think that for vectorspaces, you can replace \otimes+TAB with * and everything should just work. It's definitely a good remark that a non-unicode alternative should also be available for the sectors, which I don't think exists just yet...

@DiegoGM91
Copy link
Author

Hi Lukas,

Thanks a lot for the quick response!

Unfortunately, I need it to tensor irreps of SU from here, and * doesn't seem to work.

@lkdvos
Copy link
Collaborator

lkdvos commented Mar 21, 2024

In that case, you might circumvent the issue with directproduct see definition here.
In any case, I'll look into fixing this, so let me keep this issue open for now as a reminder?

@lkdvos lkdvos reopened this Mar 21, 2024
@DiegoGM91
Copy link
Author

DiegoGM91 commented Mar 23, 2024

Cool, thanks Lukas!!

Sure, keeping the issue open sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants