openjij
Framework for the Ising model and QUBO.
|
#include <cassert>
#include <exception>
#include <vector>
#include "openjij/graph/all.hpp"
#include "openjij/system/system.hpp"
#include "openjij/utility/eigen.hpp"
Go to the source code of this file.
Classes | |
struct | openjij::system::TransverseIsing< graph::Dense< FloatType > > |
naive Dense TransverseIsing structure with discrete-time trotter spins (with Eigen implementation) The original Hamiltonian is like More... | |
struct | openjij::system::TransverseIsing< graph::Sparse< FloatType > > |
naive Sparse TransverseIsing structure with discrete-time trotter spins (with Eigen implementation) The original Hamiltonian is like More... | |
struct | openjij::system::TransverseIsing< graph::CSRSparse< FloatType > > |
CSR Sparse TransverseIsing structure with discrete-time trotter spins (with Eigen implementation) The original Hamiltonian is like. More... | |
Namespaces | |
namespace | openjij |
namespace | openjij::system |
Typedefs | |
using | openjij::system::TrotterSpins = std::vector< graph::Spins > |
trotterized spin (std::vector<Spins>) trotter_spins[i][j] -> jth spin in ith trotter slice. | |
Functions | |
template<typename GraphType > | |
auto | openjij::system::make_transverse_ising (const TrotterSpins &init_trotter_spins, const GraphType &init_interaction, const typename GraphType::value_type gamma) |
helper function for TransverseIsing constructor | |
template<typename GraphType > | |
auto | openjij::system::make_transverse_ising (const graph::Spins &classical_spins, const GraphType &init_interaction, const typename GraphType::value_type gamma, const std::size_t num_trotter_slices) |
helper function for TransverseIsing constructor | |