Author Topic: K Path for the Band structure  (Read 65059 times)

0 Members and 1 Guest are viewing this topic.

Offline gayani2025

  • Heavy QuantumATK user
  • ***
  • Posts: 35
  • Country: sg
  • Reputation: 0
    • View Profile
K Path for the Band structure
« on: April 28, 2025, 10:22 »
Hi,

I am currently setting up a test run for the Te band structure calculation. I started with α-Te and generated an orthorhombic cell. I would like to calculate the band structure along the path Γ–X–S–Y–Γ. However, when I try to specify this path in the Brillouin Zone route, I encounter an error.

Could you please advise me on how to correctly define the k-point path for this orthorhombic structure in QuantumATK? Any suggestions would be greatly appreciated.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5749
  • Country: dk
  • Reputation: 112
    • View Profile
    • QuantumATK at Synopsys

Offline Petr Khomyakov

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 1291
  • Country: dk
  • Reputation: 26
    • View Profile

Offline gayani2025

  • Heavy QuantumATK user
  • ***
  • Posts: 35
  • Country: sg
  • Reputation: 0
    • View Profile
Re: K Path for the Band structure
« Reply #3 on: June 26, 2025, 11:15 »
Thank you.
Fixed it

# %% Define high-symmetry points
def mysym():
    return {
        "G": numpy.array((0.0, 0.0, 0.0)),
        "M": numpy.array((0.0, 0.5, 0.0)),
        "K": numpy.array((1.0/3.0, 1.0/3.0, 0.0)),
    }

# %% Load optimized structure from correct file
optimized_configuration = nlread('WSe2_run3.hdf5', object_id='optgeom')[0]

# Assign custom symmetry points
optimized_configuration.bravaisLattice().symmetryPoints = mysym

# %% Compute band structure along Γ–M–K–Γ
bandstructure = Bandstructure(
    configuration=optimized_configuration,
    route=['G', 'M', 'K', 'G'],
    points_per_segment=100
)

# %% Save results
nlsave('WSe2_run3.hdf5', bandstructure)