pub struct TDagger {
pub target: QubitId,
}Expand description
T-dagger gate (Conjugate of T gate)
Fields§
§target: QubitIdTarget qubit
Trait Implementations§
Source§impl GateOp for TDagger
impl GateOp for TDagger
Source§fn matrix(&self) -> QuantRS2Result<Vec<Complex64>>
fn matrix(&self) -> QuantRS2Result<Vec<Complex64>>
Returns the matrix representation of this gate
Source§fn num_qubits(&self) -> usize
fn num_qubits(&self) -> usize
Returns the number of qubits this gate acts on
Source§fn is_parameterized(&self) -> bool
fn is_parameterized(&self) -> bool
Returns true if this gate is parameterized
impl Copy for TDagger
Auto Trait Implementations§
impl Freeze for TDagger
impl RefUnwindSafe for TDagger
impl Send for TDagger
impl Sync for TDagger
impl Unpin for TDagger
impl UnwindSafe for TDagger
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more