34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
---
|
||
title: synth_stabilizer_depth_lnn
|
||
description: API reference for qiskit.synthesis.synth_stabilizer_depth_lnn
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: function
|
||
python_api_name: qiskit.synthesis.synth_stabilizer_depth_lnn
|
||
---
|
||
|
||
<span id="qiskit-synthesis-synth-stabilizer-depth-lnn" />
|
||
|
||
# qiskit.synthesis.synth\_stabilizer\_depth\_lnn
|
||
|
||
<Function id="qiskit.synthesis.synth_stabilizer_depth_lnn" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.24/qiskit/synthesis/stabilizer/stabilizer_decompose.py" signature="synth_stabilizer_depth_lnn(stab)">
|
||
Synthesis of an n-qubit stabilizer state for linear-nearest neighbour connectivity, in 2-qubit depth 2\*n+2 and two distinct CX layers, using CX and phase gates (S, Sdg or Z).
|
||
|
||
**Parameters**
|
||
|
||
**stab** ([*StabilizerState*](qiskit.quantum_info.StabilizerState "qiskit.quantum_info.StabilizerState")) – a stabilizer state.
|
||
|
||
**Returns**
|
||
|
||
a circuit implementation of the stabilizer state.
|
||
|
||
**Return type**
|
||
|
||
[QuantumCircuit](qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit")
|
||
|
||
## Reference:
|
||
|
||
1. S. Bravyi, D. Maslov, *Hadamard-free circuits expose the structure of the Clifford group*, [arXiv:2003.09412 \[quant-ph\]](https://arxiv.org/abs/2003.09412)
|
||
2. Dmitri Maslov, Martin Roetteler, *Shorter stabilizer circuits via Bruhat decomposition and quantum circuit transformations*, [arXiv:1705.09176](https://arxiv.org/abs/1705.09176).
|
||
</Function>
|
||
|