Skip to content

Commit

Permalink
docstring update
Browse files Browse the repository at this point in the history
  • Loading branch information
mlodi-hqs committed Nov 7, 2024
1 parent fc17f32 commit e72d733
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions qoqo/src/operations/three_qubit_gate_operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,13 @@ impl ControlledSWAPWrapper {
/// .. math::
/// U = \begin{pmatrix}
/// 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & e^{i \phi} & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & e^{i \phi} & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & 0 & e^{i (2\cdot\phi + \pi)}
/// 0 & e^{i \phi} & 0 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & e^{i \phi} & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & e^{i (2\cdot\phi)} & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & e^{i \phi} & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & e^{i (2\cdot\phi)} & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & e^{i (2\cdot\phi)} & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & 0 & e^{i (3\cdot\phi + \pi)}
/// \end{pmatrix}
///
/// Args:
Expand Down Expand Up @@ -345,13 +345,13 @@ pub struct PhaseShiftedControlledControlledZ {
/// .. math::
/// U = \begin{pmatrix}
/// 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & e^{i \phi} & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & e^{i \phi} & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & 0 & e^{i (2\cdot\phi + \theta)}
/// 0 & e^{i \phi} & 0 & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & e^{i \phi} & 0 & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & e^{i (2\cdot\phi)} & 0 & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & e^{i \phi} & 0 & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & e^{i (2\cdot\phi)} & 0 & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & e^{i (2\cdot\phi)} & 0 \\\\
/// 0 & 0 & 0 & 0 & 0 & 0 & 0 & e^{i (3\cdot\phi + \theta)}
/// \end{pmatrix}
///
/// Args:
Expand Down

0 comments on commit e72d733

Please sign in to comment.