Skip to content

Commit d7f49cc

Browse files
🎨 pre-commit fixes
1 parent d05351f commit d7f49cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mlir/lib/Dialect/MQTOpt/Transforms/GateDecompositionPattern.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,21 +1395,21 @@ struct GateDecompositionPattern final
13951395
const matrix2x2& unitaryMatrix,
13961396
bool simplify,
13971397
std::optional<qc::fp> atol) {
1398-
auto [theta, phi, lamda, phase] =
1398+
auto [theta, phi, lambda, phase] =
13991399
angles_from_unitary(unitaryMatrix, target_basis);
14001400

14011401
switch (target_basis) {
14021402
case EulerBasis::ZYZ:
1403-
return calculateRotationGates(theta, phi, lamda, phase, qc::RZ, qc::RY,
1403+
return calculateRotationGates(theta, phi, lambda, phase, qc::RZ, qc::RY,
14041404
simplify, atol);
14051405
case EulerBasis::ZXZ:
1406-
return calculateRotationGates(theta, phi, lamda, phase, qc::RZ, qc::RX,
1406+
return calculateRotationGates(theta, phi, lambda, phase, qc::RZ, qc::RX,
14071407
simplify, atol);
14081408
case EulerBasis::XZX:
1409-
return calculateRotationGates(theta, phi, lamda, phase, qc::RX, qc::RZ,
1409+
return calculateRotationGates(theta, phi, lambda, phase, qc::RX, qc::RZ,
14101410
simplify, atol);
14111411
case EulerBasis::XYX:
1412-
return calculateRotationGates(theta, phi, lamda, phase, qc::RX, qc::RY,
1412+
return calculateRotationGates(theta, phi, lambda, phase, qc::RX, qc::RY,
14131413
simplify, atol);
14141414
default:
14151415
// TODO: allow other bases

0 commit comments

Comments
 (0)