qsimcirq.qsim.NoisyCircuit

Methods

append

append(self: qsimcirq.qsim.NoisyCircuit, x: List[qsim::KrausOperator >]) -> None

Add an item to the end of the list

extend

extend(self: qsimcirq.qsim.NoisyCircuit, L: qsimcirq.qsim.NoisyCircuit) -> None

Extend the list by appending all the items in the given list

insert

insert(self: qsimcirq.qsim.NoisyCircuit, i: int, x: List[qsim::KrausOperator >]) -> None

Insert an item at a given position.

pop

pop(*args, **kwargs) Overloaded function.

  1. pop(self: qsimcirq.qsim.NoisyCircuit) -> List[qsim::KrausOperator >]

Remove and return the last item

  1. pop(self: qsimcirq.qsim.NoisyCircuit, i: int) -> List[qsim::KrausOperator >]

Remove and return the item at index i

__bool__

bool(self: qsimcirq.qsim.NoisyCircuit) -> bool

Check whether the list is nonempty

__getitem__

getitem(*args, **kwargs) Overloaded function.

  1. getitem(self: qsimcirq.qsim.NoisyCircuit, s: slice) -> qsimcirq.qsim.NoisyCircuit

Retrieve list elements using a slice object

  1. getitem(self: qsimcirq.qsim.NoisyCircuit, arg0: int) -> List[qsim::KrausOperator >]

__iter__

iter(self: qsimcirq.qsim.NoisyCircuit) -> iterator

__len__

len(self: qsimcirq.qsim.NoisyCircuit) -> int