|
Maestro 0.1.0
Unified interface for quantum circuit simulation
|
The factory for gates tensors. More...
#include <Factory.h>
Public Types | |
| using | MatrixClass = Eigen::MatrixXcd |
Static Public Member Functions | |
| static std::shared_ptr< Utils::Tensor<> > | CreateTensorFromGate (const QC::Gates::QuantumGateWithOp< MatrixClass > &gate) |
| static std::shared_ptr< Utils::Tensor<> > | CreateProjectionTensor (bool onZero=true) |
| static std::shared_ptr< Utils::Tensor<> > | CreateQubit0Tensor () |
| static std::shared_ptr< Utils::Tensor<> > | CreateQubit1Tensor () |
| static std::shared_ptr< Utils::Tensor<> > | CreateTensorFromGateOnOneQubit (const QC::Gates::QuantumGateWithOp< MatrixClass > &gate) |
| static std::shared_ptr< Utils::Tensor<> > | CreateTensorFromGateOnTwoQubits (const QC::Gates::QuantumGateWithOp< MatrixClass > &gate) |
The factory for gates tensors.
Creates the tensors for the gates.
Definition at line 27 of file TensorNetworks/Factory.h.
| using TensorNetworks::Factory::MatrixClass = Eigen::MatrixXcd |
Definition at line 29 of file TensorNetworks/Factory.h.
|
inlinestatic |
Definition at line 45 of file TensorNetworks/Factory.h.
|
inlinestatic |
Definition at line 61 of file TensorNetworks/Factory.h.
|
inlinestatic |
Definition at line 73 of file TensorNetworks/Factory.h.
|
inlinestatic |
Definition at line 32 of file TensorNetworks/Factory.h.
|
inlinestatic |
Definition at line 85 of file TensorNetworks/Factory.h.
|
inlinestatic |
Definition at line 104 of file TensorNetworks/Factory.h.