diff options
-rw-r--r-- | basis_transformation.m | 4 | ||||
-rw-r--r-- | psr/basis_transformation.m | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/psr/basis_transformation.m b/psr/basis_transformation.m index 82945fe..8b8eb04 100644 --- a/psr/basis_transformation.m +++ b/psr/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 |