|
Maestro 0.1.0
Unified interface for quantum circuit simulation
|
Go to the source code of this file.
Classes | |
| class | TensorNetworks::DumbContractor |
| The Dumb Tensor Contractor. More... | |
Namespaces | |
| namespace | TensorNetworks |
Macros | |
| #define | __DUMB_CONTRACTOR_H_ 1 |
The Dumb Tensor Contractor. This is a trivial contractor that contracts the tensors very greedily, without any attempt to optimize the contraction order. The idea is to pick the first tensor in the list and contract it with the first tensor it is connected to. Or even simply the first two tensors in the list. If this is the case and they are not connected, the contraction will perform the outer product. It works even like that, but usually worse than when picking out tensors that have some connections. It's only to have something deterministic (for a given tensor network and its given order) to compare with the other contractors. If they perform worse, it's bad.
Tensor contractions using the Dumb contraction method.
Definition in file DumbContractor.h.
| #define __DUMB_CONTRACTOR_H_ 1 |
Definition at line 24 of file DumbContractor.h.