Skip to content

Commit

Permalink
fix compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
KowerKoint committed Jul 9, 2024
1 parent f9d92be commit e2b5879
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scaluq/gate/gate_factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,11 @@ inline Gate DenseMatrix(const std::vector<UINT>& targets, const ComplexMatrix& m
throw std::runtime_error(
"gate::DenseMatrix(const std::vector<UINT>&, const ComplexMatrix&): DenseMatrix gate more "
"than two qubits is not implemented yet.");
inline Gate Probablistic(const std::vector<double>& distribution,
const std::vector<Gate>& gate_list) {
}
inline Gate Probablistic(const std::vector<double>& distribution,
const std::vector<Gate>& gate_list) {
return internal::GateFactory::create_gate<internal::ProbablisticGateImpl>(distribution,
}
gate_list);
}
} // namespace gate
} // namespace scaluq

0 comments on commit e2b5879

Please sign in to comment.