initGate
Installation Required: This functionality requires MATLAB Support Package for Quantum Computing.
Description
cg = initGate(
returns a targetQubits
,state
)quantum.gate.CompositeGate
object that initializes the target qubits to the
specified state up to a global phase, that is, scaled by a constant factor. The target
qubits must be in the state.
cg = initGate(
also removes single-qubit rotation gates that have an angle magnitude less than the rotation
threshold.targetQubits
,state
,RotationThreshold=thresh
)
Examples
Input Arguments
References
[1] Shende, Vivek V., Stephen S. Bullock, and Igor L. Markov. "Synthesis of Quantum Logic Circuits." IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 25, no. 6 (June 2006): 1000–1010. https://doi.org/10.1109/TCAD.2005.855930.
Version History
Introduced in R2023b