ALPS MPS Codes
Reference documentation.
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
framework
dmrg
models
generate_mpo.hpp
Go to the documentation of this file.
1
/*****************************************************************************
2
*
3
* ALPS MPS DMRG Project
4
*
5
* Copyright (C) 2013 Institute for Theoretical Physics, ETH Zurich
6
* 2011-2011 by Bela Bauer <bauerb@phys.ethz.ch>
7
*
8
* This software is part of the ALPS Applications, published under the ALPS
9
* Application License; you can use, redistribute it and/or modify it under
10
* the terms of the license, either version 1 or (at your option) any later
11
* version.
12
*
13
* You should have received a copy of the ALPS Application License along with
14
* the ALPS Applications; see the file LICENSE.txt. If not, the license is also
15
* available from http://alps.comp-phys.org/.
16
*
17
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
* FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
20
* SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
21
* FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
22
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23
* DEALINGS IN THE SOFTWARE.
24
*
25
*****************************************************************************/
26
27
#ifndef GENERATE_MPO_H
28
#define GENERATE_MPO_H
29
30
#include "
dmrg/models/generate_mpo/mpo_maker.hpp
"
31
#include "
dmrg/models/generate_mpo/tagged_mpo_maker_optim.hpp
"
32
#include "
dmrg/models/generate_mpo/corr_maker.hpp
"
33
34
#include "
dmrg/models/model.h
"
35
36
37
template
<
class
Matrix,
class
SymmGroup>
38
MPO<Matrix, SymmGroup>
make_mpo
(
Lattice
const
& lat,
Model<Matrix, SymmGroup>
const
& model,
BaseParameters
& parms)
39
{
40
generate_mpo::TaggedMPOMaker<Matrix, SymmGroup>
mpom(lat, model);
41
MPO<Matrix, SymmGroup>
mpo = mpom.
create_mpo
();
42
43
return
mpo;
44
}
45
46
#endif
make_mpo
MPO< Matrix, SymmGroup > make_mpo(Lattice const &lat, Model< Matrix, SymmGroup > const &model, BaseParameters &parms)
Definition:
generate_mpo.hpp:38
Model
pimpl for Model
Definition:
model.h:96
corr_maker.hpp
tagged_mpo_maker_optim.hpp
model.h
definition of Model base class
MPO
Definition:
mpo.h:36
generate_mpo::TaggedMPOMaker
Definition:
tagged_mpo_maker_optim.hpp:94
BaseParameters
Definition:
BaseParameters.h:65
mpo_maker.hpp
generate_mpo::TaggedMPOMaker::create_mpo
MPO< Matrix, SymmGroup > create_mpo()
Definition:
tagged_mpo_maker_optim.hpp:159
Lattice
pimpl resolved Lattice
Definition:
lattice.h:84
Generated on Thu Aug 21 2014 11:18:54 for ALPS MPS Codes by
1.8.7