The paper presents an alternative novel approach to obtain all-optical logic. We show that XOR, NOT, and AND logic could be obtained by appropriately setting parameter of all-optical passive transistor. An AND gate followed by NOT gives NAND logic (building block) that, in principle can provide complete set of passive, fiber compatible "self-trapped family" all-optical logic gates (with Boolean completeness) and may find many possibilities in the area of all-optical computing. To give one example, we propose all-optical half adder. 42.65.Jx, 42.65.Pc, 42.79.Ta
PACS