양자 이미지 암호화 기법과 MATLAB 적용 사례
양자 이미지 표현 기초
향상된 양자 표현(Enhanced Quantum Representation)
function q_img = eqr_encode(input_img)
[height, width] = size(input_img);
total_qubits = ceil(log2(height)) + ceil(log2(width)) + 8;
q_img = zeros(2^total_qubits, 1);
for row = 1:height
for col = 1:width
y_bin = dec2bin(row-1, ceil(l ...
6월 12일 20:32에 게시됨