tdg¶ guppyft.code.steane.logical.tdg(q)[source]¶ Apply a logical \(T^\dagger\) gate using magic-state injection. Return type: None