Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/qce_circuit/connectivity/generic_gate_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ def gate_sequence_count(self) -> int:
""":return: Number of gate-sequences in layer."""
return len(self._gate_sequences)

@property
def gate_sequences(self) -> List[GateSequenceLayer]:
""":return: Array-like of gate sequences."""
return self._gate_sequences

@property
def involved_qubit_ids(self) -> List[IQubitID]:
""":return: (Only) involved qubit-ID's in gate sequence."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ def gate_sequence_count(self) -> int:
""":return: Number of gate-sequences in layer."""
raise InterfaceMethodException

@property
@abstractmethod
def gate_sequences(self) -> List[GateSequenceLayer]:
""":return: Array-like of gate sequences."""
raise InterfaceMethodException

@property
@abstractmethod
def involved_qubit_ids(self) -> List[IQubitID]:
Expand Down