uniqc.algorithms.core.circuits.dicke_state module¶
Dicke state preparation circuit using the SCUC algorithm.
- Reference:
Bärtschi & Eidenbenz, “Deterministic Preparation of Dicke States”, FCT 2019, arXiv:1904.07358.
- uniqc.algorithms.core.circuits.dicke_state.dicke_state_circuit(first_arg=None, k=1, qubits=None)[source]¶
Build (or apply) a Dicke-state preparation fragment \(|D(n,k)\rangle\).
Two calling conventions:
# Fragment style (recommended): c = dicke_state_circuit(4, k=2) # returns Circuit # Legacy in-place style (deprecated): c = Circuit() dicke_state_circuit(c, k=2, qubits=[0, 1, 2, 3])