Comments (1)
This is actually quite dangerous because of the existence of ParametricHamiltonian
. Unless we perform a copy of h
when doing ph = parametric(h, ...)
, a dropzeros!(h)
would spoil the alignment between the pointers computed upon creation for applying parameters to ph
. We do a fast consistency check that would likely catch this. Should we, however, always copy h
into ph
? Given the risk of internal corruption it might be wise.
Another potential worry: if we do m = similarmatrix(h)
, then dropzeros!(h)
and then bloch!(m, h, ϕs)
, the result should be correct and equally fast, although m
will not have zeros dropped.
from quantica.jl.
Related Issues (20)
- Combine Regions HOT 5
- Optimize Bandstructure for access HOT 6
- Support Dirac points in bandstructures HOT 2
- Avoiding dangling bonds HOT 4
- Wrong band topology around high-symmetry points
- Encode eigenstate information in vlplot(::Bandstructure)
- Unexpected behaviour in Bandstructure indexing syntax HOT 1
- Visualize local density of states in semi-infinite systems
- plot(::Bandstructure) fails with latest GLMakie
- Misleading documentation of `bravais` HOT 2
- `hamiltonian` ignores some hopping terms HOT 9
- lack of documentation on hamiltonian algebra
- `setindex!` for multisite/multiorbital models HOT 8
- "Unexpected band connectivity" warning in massless Dirac equation HOT 4
- `vlplot(::Bandstruture)` only works for 1D bandstrutures HOT 1
- Design of Hamiltonian slices HOT 4
- Proposal: `Flat` wrapper
- vlplot(h, psi) fails for eltype(psi) = SVector{N,Float64}
- Roadmap towards v1.0
- Design: GreenFunctions and EffectiveHamiltonians HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantica.jl.