---
title: unbox (latest version)
description: API reference for samplomatic.utils.unbox in the latest version of samplomatic
source: https://eu-de.quantum.cloud.ibm.com/docs/en/api/samplomatic/auto/utils-unbox
---

# unbox

`samplomatic.utils.unbox(circuit: QuantumCircuit) → QuantumCircuit`

[GitHub](https://github.com/Qiskit/samplomatic/tree/main/samplomatic/utils/unbox.py#L18-L31)

Return a circuit with all box operations inlined.

**Parameters**

**circuit** – The circuit to inline box operations from.

**Returns**

A new circuit with no boxes.
