Recent content by Sdakouls
-
S
Graduate Time-reversal operator for fermions (Sakurai)
In Modern Quantum Mechanics (2nd ed.) by J.J. Sakurai, in section 4.4 on 'The Time-Reversal Discrete Symmetry' he derives the time-reversal operator, \Theta, for the spin-$\frac{1}{2}$ case as (pg.: 277, eq. (4.4.65)): \Theta = \eta e^{\frac{-i \pi S_{y}}{\hbar}}K = -i \eta \left(...- Sdakouls
- Thread
- Fermions Operator Sakurai
- Replies: 1
- Forum: Quantum Physics
-
S
Reading multiple data types from .txt in C
Problem solved by a helpful officemate. Mods: Delete thread.- Sdakouls
- Post #3
- Forum: Programming and Computer Science
-
S
Reading multiple data types from .txt in C
Hi, I'm wondering if anyone would be able to help me with the following problem: I have an input file in the form (values delimited by spaces): 0.0 0.0 0.0 Ga 0.5 0.5 0.5 As 1.0 1.0 1.0 In . . . and so on. (Basically it's a .txt containing x, y and z coordinates of atoms in a crystal...- Sdakouls
- Thread
- Data Multiple Reading
- Replies: 2
- Forum: Programming and Computer Science
-
S
Fortran Fortran 95 & complex numbers question
Yesterday was my first time ever writing something in f95. And besides, I didn't even know that manual existed until you pointed me to it. I googled the question and came up with a bunch of similar errors but no solution. So be nice. Also, if it peeves you so much, let me remind you that you're...- Sdakouls
- Post #7
- Forum: Programming and Computer Science
-
S
Fortran Fortran 95 & complex numbers question
I love you- Sdakouls
- Post #5
- Forum: Programming and Computer Science
-
S
Fortran Fortran 95 & complex numbers question
I tried that before I posted and it didn't work. And I have no idea why not. Also, I actually have a bunch of arrays like y(i) that I want to set up in this manner, so using auxiliary variables for the real and imaginary parts of each of these arrays would get very messy very quickly. Thank...- Sdakouls
- Post #3
- Forum: Programming and Computer Science
-
S
Fortran Fortran 95 & complex numbers question
Hi, I'm trying to compile a code (.f95, compiling using gfortran) in which I'm using a 'do' loop to set the values in a complex array; the following little piece is giving me trouble: double precision, dimension(n) :: x complex, dimension(n) :: y do i=1, n x(i) = ... end do do...- Sdakouls
- Thread
- Complex Complex numbers Fortran Numbers
- Replies: 6
- Forum: Programming and Computer Science