the standard mode of dsqss dla
play

The standard mode of DSQSS/DLA Standard mode files Input files of - PowerPoint PPT Presentation

The standard mode of DSQSS/DLA Standard mode files Input files of dla Simple mode file std.toml dla_latgen lattice.dat dla_alg lattice.xml dla result.dat lattice.toml algorithm.xml hamiltonian.toml wv.xml dla_hamgen dla_wvgen


  1. The standard mode of DSQSS/DLA Standard mode files Input files of dla Simple mode file std.toml dla_latgen lattice.dat dla_alg lattice.xml dla result.dat lattice.toml algorithm.xml hamiltonian.toml wv.xml dla_hamgen dla_wvgen kpoints.dat disp.xml dla_pgen param.in ISSP, UTokyo Yuichi Motoyama 2019-06-06 @ ISSP

  2. 2 The standard mode of DSQSS/dla Users can define your model and lattice (or graph) easily by the standard mode • Standard mode files: • hamiltonian.toml • defines local hamiltonian (site hamiltonian, bond hamiltonian, ...) • lattice.toml • Use one of them defines unitcell and lattice vector • lattice.dat • defines all the sites and all the bonds • can define a graph without translational symmetry • kpoints.dat • defines wave vectors •

  3. 3 hamiltonian.toml hamiltonian.toml can be generated from the simple mode input TOML • file by using dla_hamgen If you want to define your model, it is recommended that you first • generate some hamiltonian.toml files of some different simple models to learn. std.toml hamiltonian.toml $ dla_hamgen std.toml name = "S=1/2 XXZ model" [hamiltonian] [[sites]] model = 'spin' type = 0 M = 1 N = 2 Jz = -1 values = [ -0.5, 0.5,] Jxy= -1 h = 0.5 ## omit the rest...

  4. hamiltonian.toml name = "S=1/2 XXZ model” # Name of model # One Site [[sites]] type = 0 # Sitetype (sublattice) N = 2 # The number of local degree of freedom (e.g., N=2 if S=1/2) values = [ -0.5, 0.5,] # Value of local basis (e.g., Sz) # <0|Sz_0|0> = -0.5 # <1|Sz_0|1> = 0.5 # Site term Hsite_0 (e.g., Zeeman term) [[sites.elements]] istate = [ 0,] # initial state fstate = [ 0,] # final state value = 0.25 # <0|Hsite_0|0> = 0.25 [[sites.elements]] istate = [ 1,] fstate = [ 1,] value = -0.25 # <1|Hsite_0|1> = -0.25 # Worm source term [[sites.sources]] istate = [ 0,] fstate = [ 1,] value = 0.5 # <1|G_0|0> = 0.5 [[sites.sources]] istate = [ 1,] fstate = [ 0,] value = 0.5 # <0|G_0|1> = 0.5 ## continued to the next page

  5. <latexit sha1_base64="MJUV9Cuq0aIwGfzKRMDaIQI1lk=">ADInichVHPS9xQEJ7Etmr6w9VeCr1EF5fSUp2IoAiFhV48+mtVMLokcdw+TF5C8nZRw/4DvZcePLW0h9I/ocdeSm9FPAj+A8WjQg/14CQbLVupnfAy3/tmvpk3jBv5IlGIR5rec+v2nd6+fuPuvfsPBkqDQ8tJ2Iw9qnmhH8arpOQLyTVlFA+rUYxOYHr04q7/TKLr7QoTkQol9RuROuB05BiS3iOYqpejO7YSvaUamQql1H84Vhu9QMo0CR8Vip21Y45NmxWRD89JX+Ni2wQTD51lCFrHGJ7ojOXOZ0R3prsZxwya5edW0XirjGOZmXgdWAcpQ2FxY+gI2bEIHjQhAIJirEPDiT8rYEFCBFz65AyFzMSeZygDQZrm5xFnOEwu83/Bt/WClbyPauZ5GqPu/h8YlaMIqH+AlP8Rt+xp94/s9aV4je8sue7ejpag+8PrR4q/qgL2Cl79Ud2gcPlDt+JFTfPpmALpvOZBM8Y5Uw2rdfp09p7e7o4szCaVvA9nvCc7/AIv/KksnXmfZynhX0weFHW32u5DpYnxizG85PlarVYWR8hF4wnuZgirMwhzUuO9vbVh7qj3TP+jf9R/6QSdV1wrNQ+gy/fgCxQC2ZQ=</latexit> <latexit sha1_base64="MJUV9Cuq0aIwGfzKRMDaIQI1lk=">ADInichVHPS9xQEJ7Etmr6w9VeCr1EF5fSUp2IoAiFhV48+mtVMLokcdw+TF5C8nZRw/4DvZcePLW0h9I/ocdeSm9FPAj+A8WjQg/14CQbLVupnfAy3/tmvpk3jBv5IlGIR5rec+v2nd6+fuPuvfsPBkqDQ8tJ2Iw9qnmhH8arpOQLyTVlFA+rUYxOYHr04q7/TKLr7QoTkQol9RuROuB05BiS3iOYqpejO7YSvaUamQql1H84Vhu9QMo0CR8Vip21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byPauZ5GqPu/h8YlaMIqH+AlP8Rt+xp94/s9aV4je8sue7ejpag+8PrR4q/qgL2Cl79Ud2gcPlDt+JFTfPpmALpvOZBM8Y5Uw2rdfp09p7e7o4szCaVvA9nvCc7/AIv/KksnXmfZynhX0weFHW32u5DpYnxizG85PlarVYWR8hF4wnuZgirMwhzUuO9vbVh7qj3TP+jf9R/6QSdV1wrNQ+gy/fgCxQC2ZQ=</latexit> hamiltonian.toml ## continued from the previous page # manybody interactions Hint_0 [[interactions]] type = 0 # interaction type (id) nbody = 2 # the number of sites N = [ 2, 2,] # the number of local d.o.f. of sites   # matrix elements 1 / 4 0 0 0 [[interactions.elements]] − 1 / 4 1 / 2 0 0 H int   istate = [ 0, 0,] # initial state =   0 1 / 2 − 1 / 4 0 0 fstate = [ 0, 0,] # final state   value = 0.25 # <0,0|Hint_0|0,0> = 0.25 1 / 4 0 0 0 [[interactions.elements]] istate = [ 0, 1,] fstate = [ 0, 1,] value = -0.25 # <0,1|Hint_0|0,1> = -0.25 [[interactions.elements]] istate = [ 0, 1,] fstate = [ 1, 0,] value = 0.5 # <1,0|Hint_0|0,1> = 0.5 [[interactions.elements]] istate = [ 1, 0,] fstate = [ 1, 0,] value = -0.25 # <1,0|Hint_0|1,0> = -0.25 ## omit the rest

  6. 6 lattice.toml lattice.toml can be generated from the simple mode input TOML file by • using dla_latgen std.toml $ dla_latgen -t lattice.toml std.toml [lattice] lattice = ‘hypercubic' dim = 2 L = [4,4] lattice.toml [parameter] name = "hypercubic" dim = 2 # spatial dimension L = [ 4, 4,] # number of unitcells # boundary conditions bc = [ true, true,] ## omit the rest...

  7. lattice.toml bondid=1 unitcell = siteid=0 bondid=0 [parameter] ## continued from the left name = "hypercubic" dim = 2 # spatial dimension # bonds in the cell L = [ 4, 4,] # number of unitcells [[unitcell.bonds]] bondid = 0 # boundary conditions type = 0 bc = [ true, true,] # an end site of the bond # lattice vectors [unitcell.bonds.source] basis = [[1. 0.] # e_1 siteid = 0 [0. 1.]] # e_2 # opposite end site [unitcell] [unitcell.bonds.target] # sites in the unitcell siteid = 0 [[unitcell.sites]] # relative coord of another cell siteid = 0 offset = [ 1, 0,] type = 0 # sitetype # another bond # fractional coordinate in the cell [[unitcell.bonds]] coord = [ 0.0, 0.0,] bondid = 1 type = 0 ## continued to the right [unitcell.bonds.source] siteid = 0 [unitcell.bonds.target] siteid = 0 offset = [ 0, 1,]

  8. 8 lattice preview by gnuplot dla_latgen can generate a gnuplot file for viewing the 2D lattice • $ dla_latgen -g lattice.plt lattice.toml $ gnuplot lattice.plt

  9. 9 lattice.dat lattice.dat can be generated from the simple mode input TOML file by • using dla_latgen std.toml $ dla_latgen -o lattice.dat std.toml [lattice] lattice = ‘hypercubic' dim = 2 L = [4,4] lattice.dat name hypercubic lattice 2 # dim 4 4 # size (Lx, Ly) ## omit the rest...

  10. lattice.dat 4x4 square lattice name # tag # continued from the left hypercubic # each sites sites # tag lattice # tag 16 # nsites 2 # dim 4 4 # size (Lx, Ly) # id, type, coord... 0 0 0.0 0.0 # boundary conditions 1 0 1.0 0.0 2 0 2.0 0.0 # 0: open, 1:periodic … skip … 1 1 # x, y 15 0 3.0 3.0 # lattice vectors 0 1.0 0.0 # latvec_0 # each N-body interaction interactions 1 0.0 1.0 # latvec_1 32 # nints # direction of bonds # id, type, nbody, sites..., edge_flag, direction directions # tag 0 0 2 0 1 0 0 2 # ndirections 1 0 2 0 4 0 1 2 0 2 1 2 0 0 … skip … # id, coords... 0 1.0 0.0 31 0 2 15 3 1 1 1 0.0 1.0 edge_flag : whether to cross the boundary (1) or not (0) # continued to the right

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend