> ## Documentation Index
> Fetch the complete documentation index at: https://bloqade.quera.com/tsim/llms.txt
> Use this file to discover all available pages before exploring further.

# tags

> Helpers for tags that encode tsim-specific gate metadata.

## `decode_t_user_tag`

```python theme={null}
decode_t_user_tag(tag: str) -> str
```

Return the user tag attached to an encoded T-family gate tag.

## `encode_t_tag`

```python theme={null}
encode_t_tag(user_tag: str = '') -> str
```

Encode a T-family gate tag while preserving an optional user tag.

## `is_t_tag`

```python theme={null}
is_t_tag(tag: str) -> bool
```

Return whether a Stim tag encodes a tsim T-family gate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.