qiskit.pulse.ScheduleBlock.initialize_from¶
- classmethod ScheduleBlock.initialize_from(other_program, name=None)[source]¶
Create new schedule object with metadata of another schedule object.
- প্যারামিটার
other_program (Any) -- Qiskit program that provides metadata to new object.
name (Optional[str]) -- Name of new schedule. Name of
block
is used by default.
- রিটার্নস
New block object with name and metadata.
- রেইজেস
PulseError -- When
other_program
does not provide necessary information.- রিটার্ন টাইপ