-
Notifications
You must be signed in to change notification settings - Fork 69
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
Remove adjoint method calling transpose #234
Conversation
In Julia, adjoint is conjugate transposition these days
This exists because julia> code_lowered() do x
x'
end
1-element Array{Core.CodeInfo,1}:
CodeInfo(
1 ─ %1 = Main.:var"'"(x)
└── return %1
)
julia> Main.var"'"
adjoint (generic function with 41 methods)
julia> Main.var"'" === adjoint
true So your proposal is basically to remove PS: The |
I guess we need to be careful:
But yes, since ' is not transpose, we need to be more precise |
To be honest, I didn't really think about the use of the But I do mind that we redefine So, I guess If that means we have to write BTW, as you probably are aware, there are efforts on the Julia side to allow other shorthands similar to |
The problem is the usual numeric bubble in which julia was/is developed. In a world where not everything is a complex number, P.S.: |
I had no idea ' was for adjoint. Very strange indeed. But if that is the case, I see no other possibility but to remove our use of it and adjoint. I'd suggest we define ^T except that we use T everywhere as a type variable. What a shame. |
a^:T is a possibility |
Closing this in favor of PR #383 |
In Julia, adjoint is conjugate transposition these days... And that also makes some sense in our settings, e.g. for matrices over finite fields with involution. (I am not saying we should use
adjoint
for that, just that we should at least avoid potential confusion...)