Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kwant kwant
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 139
    • Issues 139
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kwant
  • kwantkwant
  • Merge requests
  • !387

Transpose array-like in herm_conj

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Viacheslav Ostroukh requested to merge fix/406-conjugate_array_like into stable Jun 07, 2021
  • Overview 6
  • Commits 2
  • Pipelines 11
  • Changes 3

If onsite/hopping value was supplied to the builder as array-like instead of proper array, Hamiltonian could be generated silently without any Hermitian conjugation, if required.

This MR fixes the problem, trying to cast the value to the proper array, if it can't be conjugated and is not a number.

Fixes #406 (closed)

Edited Jun 15, 2021 by Viacheslav Ostroukh
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix/406-conjugate_array_like