This is a library for simulating atom-cavity interactions using Python.
- qutip
- numpy
- pandas
- interaction.py: This is the library that contains the simulator code.
- interaction_picture_cli.py: This wraps that library in a CLI interface.
- interaction_picture_batch_semaphore.py: This allows for parallelization of the cli picture for sweeping through parameters.
To run the code, navigate to the project directory and use the following command:
python interaction_picture_batch_semaphore.py -N 4 -d 'np.linspace(-1,1,10)' -g 33 --kappa 1 --gamma 0.36 --omega 10 --driving_strength 0.1 --scale 1 -T 60 -o batch/data --spin_state_command 'qutip.tensor([u,d,u,d])' -p 1This command will generate a batch of .csv files and compress them altogether at the end. Please ensure there is only one .csvfile per folder, as it will erase any other .csv files in that folder.
The output of the example command will be a batch of .csv files. The total time taken to complete the process will also be displayed.