diff options
Diffstat (limited to 'basis_transformation.m')
-rw-r--r-- | basis_transformation.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basis_transformation.m b/basis_transformation.m index 82945fe..8b8eb04 100644 --- a/basis_transformation.m +++ b/basis_transformation.m @@ -6,7 +6,7 @@ function transformation_matrix = circ2lin() transformation_matrix = ... [ ... [ 1/sqrt(2), 1/sqrt(2), 0]; ... - [-1i/sqrt(2), 1i/sqrt(2), 0]; ... + [ 1i/sqrt(2),-1i/sqrt(2), 0]; ... [ 0, 0, 1] ... ]; endfunction @@ -17,8 +17,8 @@ endfunction function transformation_matrix = lin2circ() transformation_matrix = ... [ ... - [ 1/sqrt(2), 1i/sqrt(2), 0]; ... [ 1/sqrt(2), -1i/sqrt(2), 0]; ... + [ 1/sqrt(2), 1i/sqrt(2), 0]; ... [ 0, 0, 1] ... ]; endfunction |