semvec/pypi-packages huggingface dataset:
llmbot_plugin_sticker 0.1.7
Openaibot Bot Plugin: Sticker,for sending sticker in chat
License: MIT
Requires Python: >=3.8,<4.0

<div align="center">
<a href="https://llmkira.github.io/Docs/plugin/basic">
<img src="https://raw.githubusercontent.com/LlmKira/.github/main/llmbot/func_call_big.png" alt="">
</a>
<h2>llmbot-plugin-sticker</h2>
</div>

适用于 [OpenaiBot](https://github.com/LlmKira/Openaibot) 的函数插件，贴纸。

## 📦 Install

```shell
pip install llmbot_plugin_sticker -U
```

### 📝 美术资源许可注意

1.0.* 版本的美术资源仅供测试使用，不可用于商业用途。版权归原作者所有。

## 📝 Hook

https://github.com/LlmKira/llmbot_plugin_sticker/blob/a699c2c726ae8c8a2e1e5acbdfb671a7e37966ba/llmbot_plugin_sticker/__init__.py#L74-L99
py2quantikz 0.0.3
Converts Quantum Circuit Code to quantikz Diagrams
License: MIT
Requires Python: >=3.6
Keywords: python,tikz,quantikz,latex,quantum

# py2quantikz

A library to convert Quantum code to LaTeX quantikz circuit diagrams.

## Installation

Install using `pip`:

```shell
pip install py2quantikz
```

## Usage

Initialize a circuit using `QuantumCircuit()` and pass in the number of qubits in the system.

Use the `apply()` method of `QuantumCircuit` to pass in a `GateApplication` or a list of `GateApplication` to it.

Get the circuit diagram code with the `quantikz()` method of `QuantumCircuit`.

```python
from py2quantikz.py2quantikz import QuantumCircuit, GateApplication as ga
import py2quantikz.gates as qg

circuit = QuantumCircuit(4)

circuit.apply([ga(qg.H, 0), ga(qg.H, 2)])
circuit.apply([ga(qg.X, 1, 0), ga(qg.X, 3, 2)])
circuit.apply([ga(qg.M, 0), ga(qg.M, 2)])

quantikz_repr = circuit.quantikz()
print(quantikz_repr)
```

This will result in

```latex
Q_0 & \gate{H} & \ctrl{1} & \meter{} & \\
Q_1 &          & \gate{X} &          & \\
Q_2 & \gate{H} & \ctrl{1} & \meter{} & \\
Q_3 &          & \gate{X} &          & \\
```

The `quantikz()` method accepts a separation parameter `sep`, which is used to separate the individual circuit elements.

```python
circuit.quantikz(sep="&[0.5em]")
```