Comments (3)
A unitary matrix is defined as a matrix that has UU* = U*U = I with * the conjugate transpose. If you take the transpose instead of the conjugate transpose in your vector the transformation is not unitary.
Reflection by a complex vector uses therefore the dagger operator (or the conjugate transpose if you want to call it like that). Are you positive the code isn't doing that? I'll check the math in detail later.
from complex_rnn.
Thanks for the quick response. I see, of course the operator should be unitary! Does one still have the geometric interpretation of a rotation in this case, though?
Regarding the maths: to get the expression for the unitary version, it should (I think!) be sufficient to just change the sign of the imaginary part of the reflection (v_im) whenever it appeared in a dot product. Assuming the rest of the algebra is correct, this should result in: (compare with equation 2)
... which still doesn't reproduce the expressions for d-c
and a+b
! What am I missing here?
from complex_rnn.
I figured it out btw, your code is actually implementing the operator
... which is also unitary, and just a reflection in the conjugate of v, so it's all good.
from complex_rnn.
Related Issues (5)
- uRNN code HOT 4
- Crashing at T.tile HOT 1
- Parameters for memory_problem HOT 1
- Could you please add a license? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from complex_rnn.