What problem does it solve? Preparing arbitrary quantum states on a circuit is expensive when the state has low entanglement; this Skill implements Matrix Product State (MPS) state preparation in UnitaryLab, decomposing a target state vector into right-canonical tensors and synthesizing a circuit whose cost scales with bond dimension rather than full Hilbert-space size. ## Core Features & Use Cases - State-to-MPS Decomposition: Converts a target state vector into a right-canonical MPS via right-to-left SVD, with optional power-of-two bond-dimension truncation. - Circuit Synthesis: Embeds each tensor as isometry columns, completes them to unitaries with seeded QR decomposition, and schedules them on system and work wires in a UnitaryLab Circuit. - Validation & Diagnostics: Reports work leakage, phase-invariant total error, projection norms, and conditional fidelity, with strict tensor-shape, bond, and wire validation. - Use Case: Prepare a GHZ-like or low-entanglement state on 3+ qubits by calling MPSAlgorithm with a target vector and bond cap, then inspect leakage and error to confirm the truncation stayed within tolerance. ## Quick Start Ask the assistant to prepare a GHZ state on 3 qubits using the MPS algorithm with a maximum bond dimension of 2 and report the total error and work leakage.