French
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.z

QuantumCircuit.z(qubit)[source]

Apply ZGate.

For the full matrix form of this gate, see the underlying gate documentation.

Paramètres

qubit (Union[Qubit, QuantumRegister, int, slice, Sequence[Union[Qubit, int]]]) – The qubit(s) to apply the gate to.

Type renvoyé

InstructionSet

Renvoie

A handle to the instructions created.