Borrar filtros
Borrar filtros

How can write in MATLAB the following expression?

1 visualización (últimos 30 días)
Zar
Zar el 8 de En. de 2023
Respondida: Alan Stevens el 8 de En. de 2023
|0>=1
0
0
|1>= 0
1
0
  1 comentario
Jan
Jan el 8 de En. de 2023
Without any explanations the readers have to guess, what this should mean. This is not a useful way to ask a question. Please read: How to ask a good question .

Iniciar sesión para comentar.

Respuesta aceptada

Alan Stevens
Alan Stevens el 8 de En. de 2023
Try
ket0 = [1; 0; 0]
ket1 = [0; 1; 0]

Más respuestas (0)

Categorías

Más información sobre Quantum Mechanics en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by