Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • kwant kwant
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 144
    • Issues 144
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • kwantkwant
  • 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
Reviewers
Request review from
Time tracking
Source branch: fix/406-conjugate_array_like