Commit 8a8899d 1 parent b91836f commit 8a8899d Copy full SHA for 8a8899d
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,9 @@ template <typename T>
79
79
return identity;
80
80
}
81
81
82
- [[nodiscard]] auto
83
- matrixVectorProd ( const Matrix& matrix,
84
- std::vector< double > vector) -> std::vector<double > {
82
+ [[nodiscard]] auto matrixVectorProd ( const Matrix& matrix,
83
+ std::vector< double > vector)
84
+ -> std::vector<double> {
85
85
std::vector<double > result;
86
86
for (const auto & matrixVec : matrix) {
87
87
double sum{0 };
@@ -195,8 +195,8 @@ rotationsToDisentangle(std::vector<std::complex<double>> amplitudes)
195
195
196
196
// creates circuit that takes desired vector to zero
197
197
[[nodiscard]] auto
198
- gatesToUncompute (std::vector<std::complex<double >> amplitudes,
199
- size_t numQubits) -> QuantumComputation {
198
+ gatesToUncompute (std::vector<std::complex<double >> amplitudes, size_t numQubits)
199
+ -> QuantumComputation {
200
200
QuantumComputation disentangler{numQubits};
201
201
for (size_t i = 0 ; i < numQubits; ++i) {
202
202
// rotations to disentangle LSB
You can’t perform that action at this time.
0 commit comments