gate_cx_pow: CXPowGate

Description Usage Arguments Details Value See Also

View source: R/Unitary_Gates.R

Description

A gate that applies a controlled power of an X gate.

Usage

1

Arguments

...

parameters to pass

Details

When applying CNOT (controlled-not) to qubits, you can either use positional arguments 'CNOT(q1, q2)', where q2 is toggled when q1 is on, or named arguments 'CNOT(control=q1, target=q2)'. (Mixing the two is not permitted.)

Value

None

See Also

Other Unitary gates and operations: gate_Gate(), gate_ccnot_pow(), gate_ccnot(), gate_ccx_pow(), gate_ccx(), gate_ccz_pow(), gate_ccz(), gate_cnot_pow(), gate_cnot(), gate_controlled(), gate_cs_wap(), gate_cx(), gate_cz_pow(), gate_cz(), gate_eigen(), gate_fredkin(), gate_fsim(), gate_givens(), gate_global_phase_operation(), gate_hpow(), gate_h(), gate_identity_each(), gate_identity(), gate_is_wap_pow(), gate_iswap(), gate_i(), gate_matrix(), gate_operation(), gate_phase_gradient(), gate_phased_is_wap_pow(), gate_phased_xz(), gate_quantum_fourier_transform(), gate_riswap(), gate_rx(), gate_ry(), gate_single_qubit(), gate_swap_pow(), gate_swap(), gate_s(), gate_tagged_opertaion(), gate_three_qubit_diagonal(), gate_three_qubit(), gate_toffoli(), gate_t(), gate_wait(), gate_x_pow(), gate_xx_pow(), gate_xx(), gate_x(), gate_y_pow(), gate_yy_pow(), gate_yy(), gate_y(), gate_z_pow(), gate_zz_pow(), gate_zz(), gate_z()


henry090/Cirq documentation built on June 13, 2020, 1:28 a.m.