Content of qwsim folder:
The simulator is composed by 3 separate programs located in separate folders:
Content of each program:
Each of the program is located in a separated folder. In each folder there are 5 files and 1 folder:
Running the program:
To run the program, one should follow the steps bellow:
Once the simulator is finished, it will output data files.
To plot the graph of the files, there is a Matlab program in each folder named plots.m. It is only necessary to open Matlab, access the "Output" folder of the program and type plots on the terminal.
The parse file has an option for plotting data in GNUPlot as well.
For more details and examples, please download the user guide bellow:
The simulator is composed by 3 separate programs located in separate folders:
- qwsim_1D: contains all files needed to simulate one particle quantum walk on the line;
- qwsim_1D_2 walkers: contains all files needed to simulate two-particles on the line;
- qwsim_2D_1_walker: contains all files needed to simulate one particle on a square lattice located in folder;
Content of each program:
Each of the program is located in a separated folder. In each folder there are 5 files and 1 folder:
- Makefile;
- main.c;
- qwsim.c;
- qwsim.h;
- parse _file.txt: file to change parameters for simulation;
- folder Output: the simulation data will be stored in this folder. There is also a Matlab program for automatically generating graphics from the outputs, named plots.m;
Running the program:
To run the program, one should follow the steps bellow:
- compile the program typing "make" in the command line;
- open parse file and change the parameters;
- save the parse file;
- type ./main and enter;
Once the simulator is finished, it will output data files.
To plot the graph of the files, there is a Matlab program in each folder named plots.m. It is only necessary to open Matlab, access the "Output" folder of the program and type plots on the terminal.
The parse file has an option for plotting data in GNUPlot as well.
For more details and examples, please download the user guide bellow:
concise_usersguide_and_examples.zip | |
File Size: | 5630 kb |
File Type: | zip |
parsefile_structure_and_examples.pdf | |
File Size: | 2439 kb |
File Type: |